示例#1
0
 public User Get(int Id) => AllUsers.AsNoTracking().SingleOrDefault(x => !x.DelDate.HasValue && x.Id == Id);
示例#2
0
 public IQueryable <User> Get() => AllUsers.AsNoTracking();