Exemple #1
0
        public IList <TableColumn> GetColumns(int tableID)
        {
            IList <TableColumn> e = null;

            dal.GetColumns(tableID, rd =>
            {
                if (rd.HasRows)
                {
                    e = rd.ToEntityList <TableColumn>();
                }
            });

            return(e ?? new List <TableColumn>());
        }