摘要: 字段有 id,name,password,sex 1.错误举例: var data = db.User.Select(d => d); var data2 = db.User.ToList(); 2修正 var data = db.User.Select(d => new {id=d.id, nam 阅读全文
posted @ 2017-10-26 17:53 hao_1234_1234 阅读(629) 评论(2) 推荐(0) 编辑