【发布时间】:2011-06-15 20:37:54
【问题描述】:
var crm = new XrmDataContext("Crm");
var properties = from property in crm.awx_propertyawx_properties
orderby property.awx_name
select new {
awx_name = property.awx_name == null ? "no name" : property.awx_name
}
;
properties = properties.Where(a => a.awx_name.StartsWith("Sears Tower"));
我收到错误“无法确定属性名称” - 我在这里做错了什么?我读了很多线程,这是完全可以做的。帮助!
【问题讨论】:
标签: linq where-clause anonymous-types dynamics-crm-4