摘要: 1.解决“NotSupportedException:“Explicit construction of entity type 'xx object' in query is not allowed.即:“不允许在查询中显式构造实体类型” 问题及 使用其他方法实现返回List或者IQueryable对象。方法1 例子1: 实体类UsersInfo [Table(Name = "Users")] public class UsersInfo { [Column(Name="UserID", IsPrimaryKey = true, Can 阅读全文
posted @ 2013-08-13 15:55 大脸 阅读(1693) 评论(0) 推荐(1) 编辑
摘要: vs2010密钥YCFHQ-9DWCY-DKV88-T2TMH-G7BHP 阅读全文
posted @ 2013-08-13 13:17 大脸 阅读(437) 评论(0) 推荐(0) 编辑