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
浙公网安备 33010602011771号