deerchao的blog

Be and aware of who you are.

导航

统计

公告

09 2008 档案

Linq 2 Entity Framework: Cannot convert lambda expression to type 'string' because it is not a delegate type
摘要: 出错代码: var x = from c in Database.Company select c; 错误提示: Cannot convert lambda expression to type 'string' because it is not a delegate type 解决方法: 添加"using System.Linq;"行.出错原因:C#编译器未找到合适的Select方法来翻译"s...阅读全文

posted @ 2008-09-11 16:34 deerchao 阅读(395) | 评论 (0) 编辑

A class to clone objects
摘要: [代码]阅读全文

posted @ 2008-09-04 16:02 deerchao 阅读(178) | 评论 (0) 编辑