Exemple #1
0
 /// <summary>
 /// 保存数据库表表单(新增、修改)
 /// </summary>
 /// <param name="dataBaseLinkId">库连接Id</param>
 /// <param name="tableName">表名称</param>
 /// <param name="tableDescription">表说明</param>
 /// <param name="fieldListJson">字段列表Json</param>
 public void SaveForm(string dataBaseLinkId, string tableName, string tableDescription, string fieldListJson)
 {
     try
     {
         IEnumerable <DataBaseTableFieldEntity> fieldList = fieldListJson.ToList <DataBaseTableFieldEntity>();
         service.SaveForm(dataBaseLinkId, tableName, tableDescription, fieldList);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #2
0
        /// <summary>
        /// 保存数据库表表单(新增、修改)
        /// </summary>
        /// <param name="dataBaseLinkId">库连接Id</param>
        /// <param name="tableName">表名称</param>
        /// <param name="tableDescription">表说明</param>
        /// <param name="fieldListJson">字段列表Json</param>
        public void SaveForm(string dataBaseLinkId, string tableName, string tableDescription, string fieldListJson)
        {
            List <DataBaseTableFieldDto> fieldList = fieldListJson.JsonToList <DataBaseTableFieldDto>();

            service.SaveForm(dataBaseLinkId, tableName, tableDescription, fieldList);
        }