public void Check_count_all_records() { EFUserDAL efud = new EFUserDAL(); var rs = efud.GetList(); Assert.AreEqual(20, rs.Count); }
public void Check_count_all_records_with_filter() { EFUserDAL efud = new EFUserDAL(); var rs = efud.GetList(x => x.UserName.Contains("new") && x.UserId < 4000); Assert.AreEqual(2, rs.Count); }
public UserService() { _userDAL = new EFUserDAL(); }
public UserManagement() { _userDAL = new EFUserDAL(); }