Only parameterless constructors and initializers are supported in LINQ to Entities
摘要: 近期开发过程中,使用Entity Framework时,在对一个实体通过主键(GUID类型)查询时,出现“Only parameterless constructors and initializers are supported in LINQ to Entities”错误,代码如下:var roles = from r in entites.Roles where r....阅读全文
posted @ 2009-08-10 16:43 夕颜 阅读(190) | 评论 (1) 编辑
