代码改变世界

随笔档案-2018年02月

软件开发中的版本号

2018-02-24 13:16 by 咒语, 601 阅读, 收藏,
摘要: 参考文档:http://www.cnblogs.com/sdjxcolin/archive/2007/07/02/803376.html 阅读全文

The specified type member 'Date' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.

2018-02-13 16:34 by 咒语, 2851 阅读, 收藏,
摘要: 使用EF时,在Limda表达式中( query.Where(x => x.CheckInDate >= bd.Date);)查询的时候抛出了这个异常,网上查到的发现,并不能解决问题。 后来,在 http://sandeep-tada.blogspot.com/2014/02/the-specifie 阅读全文