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

            for (int i = 0; i < listM.Count; i++)
            {
                listM[i].Columns = _dal.GetTableColumnInfoByTableName(listM[i].Name);
            }
            return(listM);
        }
Beispiel #2
0
        public void GetUserCreateTableInfoTest()
        {
            List <MySqlTableModel> listM = _dal.GetUserCreateTableInfo();

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