用HQL语句写就可以查出部分数据, from p in entitys.Where(p => p.Id == 123) select p.Id 只查询对象的ID. 如果要查多字段的话 from p in entitys.
確定! 回上一頁