public List<SysDepartmentType> Select(NameValueCollection where) { SysDepartmentTypeDA da = new SysDepartmentTypeDA(); return da.Select(where).DataTableToList<SysDepartmentType>(); }
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>(); }