示例#1
0
        public IList DataTableToList(Type type, DataTable data)
        {
            List <ColumnWrapper> sortedColumns = BaseDataAccess.GetSortedColumns(type, data);

            return(BaseDataAccess.DataTableToList(type, data, sortedColumns));
        }
示例#2
0
        public List <T> DataTableToList <T>(DataTable data)
        {
            List <ColumnWrapper> sortedColumns = BaseDataAccess.GetSortedColumns <T>(data);

            return(BaseDataAccess.DataTableToList <T>(data, sortedColumns));
        }