Пример #1
0
 /// <summary>
 /// 复制视图
 /// </summary>
 /// <param name="keyValue">主键</param>
 /// <param name="moduleId">功能主键</param>
 /// <returns></returns>
 public void CopyForm(string keyValue, string moduleId)
 {
     try
     {
         ModuleColumnEntity moduleColumnEntity = this.GetEntity(keyValue);
         moduleColumnEntity.ModuleId = moduleId;
         InstanceDAL.AddEntity(moduleColumnEntity);
     }
     catch (Exception)
     {
         throw;
     }
 }