摘要: EntityFramwork 查询 1、简单查询: SQL: SELECT * FROM [Clients] WHERE Type=1 AND Deleted=0 ORDER BY ID EF: //Func形式 var clients = ctx.Clients.Where(c => c.Type == 1 && c.Deleted == 0) .Or... 阅读全文
posted @ 2015-05-07 09:30 随梦而飞 阅读(1051) 评论(0) 推荐(0) 编辑