摘要:
select * from UserInfor --查找所有字段 select username,UserId from UserInfor -- 查找username,UserId两个字段 select top 2* from UserInfor where (Major='计算机' or Maj 阅读全文
摘要:
l简单查询:var result = from c in Entities.Customer select c;l条件查询: 普通linq写法: var result = from c in Entities.Customer where c.Gender ==‘w’ select c; Lambd... 阅读全文