public IList DataTableToList(Type type, DataTable data) { List <ColumnWrapper> sortedColumns = BaseDataAccess.GetSortedColumns(type, data); return(BaseDataAccess.DataTableToList(type, data, sortedColumns)); }
public List <T> DataTableToList <T>(DataTable data) { List <ColumnWrapper> sortedColumns = BaseDataAccess.GetSortedColumns <T>(data); return(BaseDataAccess.DataTableToList <T>(data, sortedColumns)); }