示例#1
0
        /// <summary>
        /// 获得所有用户自定义表信息
        /// </summary>
        /// <returns></returns>
        public List <SqlServerTableModel> GetUserCreateTableInfo()
        {
            List <SqlServerTableModel> listM = _dal.GetUserCreateTableInfo();

            for (int i = 0; i < listM.Count; i++)
            {
                listM[i].Columns = _dal.GetTableColumnInfoByTableID(listM[i].ID);
            }
            return(listM);
        }
示例#2
0
        public void GetUserCreateTableInfoTest()
        {
            List <SqlServerTableModel> listM = _dal.GetUserCreateTableInfo();

            Assert.IsTrue(listM != null && listM.Count > 0);
        }