/// <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); }
public void GetTableColumnInfoByTableNameTest() { List <MySqlColumnModel> listM = _dal.GetTableColumnInfoByTableName("jt808_company_info"); Assert.IsTrue(listM != null && listM.Count > 0); }