Example #1
0
        public static BaseList <T> GrabAll() //Quality of life
        {
            BaseList <T> ret = new BaseList <T>();

            ret.FillAll();
            return(ret);
        }
Example #2
0
        public static BaseList <T> GrabFill(DataTable dataTable) //Quality of life
        {
            BaseList <T> ret = new BaseList <T>();

            ret.FillWith(dataTable);
            return(ret);
        }
Example #3
0
        public static BaseList <T> ToBaseList <T>(this IEnumerable <T> source) where T : BaseTable, new()
        {
            BaseList <T> ret = new BaseList <T>();

            foreach (T item in source)
            {
                ret.Add(item);
            }
            return(ret);
        }