Пример #1
0
 public List<SysDepartmentType> Select(NameValueCollection where)
 {
     SysDepartmentTypeDA da = new SysDepartmentTypeDA();
     return da.Select(where).DataTableToList<SysDepartmentType>();
 }
Пример #2
0
 public List<SysDepartmentType> Select(NameValueCollection where, NameValueCollection orderby, int pageIndex, int pageSize, out int totalCount)
 {
     SysDepartmentTypeDA da = new SysDepartmentTypeDA();
     return da.Select(where, orderby, pageIndex, pageSize, out totalCount).DataTableToList<SysDepartmentType>();
 }