當前位置: 首頁>>代碼示例>>C#>>正文


C# Comm.ModelExceptions類代碼示例

本文整理匯總了C#中QX.Comm.ModelExceptions的典型用法代碼示例。如果您正苦於以下問題:C# ModelExceptions類的具體用法?C# ModelExceptions怎麽用?C# ModelExceptions使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ModelExceptions類屬於QX.Comm命名空間,在下文中一共展示了ModelExceptions類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Document_Manage model,int A)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model, A);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Document_Manage.cs

示例2: Insert

 /// <summary>
 /// 插入數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <param name='model'>是否完成驗證</param>
 /// <returns>bool</returns>
 public bool Insert(WH_Material model,bool IsValid)
 {
     var e = new ModelExceptions();
     bool result = false;
     if (e.IsValid && IsValid)
     {
         //完成了驗證,開始更新數據庫了
         int _result = instance.Add(model);
         if (_result > 0)
         {
             result = true;
         }
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:21,代碼來源:Bll_WH_Material.cs

示例3: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Sys_Config_ListPage model,bool IsValid)
 {
     bool result = false;
     var e = new ModelExceptions();
     if(e.IsValid && IsValid){
         int _rseult = instance.Update(model);
         if (_rseult > 0)
         {
             result = true;
         }
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:18,代碼來源:Bll_Sys_Config_ListPage.cs

示例4: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Bse_Address model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Bse_Address.cs

示例5: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Sys_UserPermission model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Sys_UserPermission.cs

示例6: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Vehicles_Examined model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Vehicles_Examined.cs

示例7: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(System_TopMenu model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_System_TopMenu.cs

示例8: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(WH_BanlanceRelate model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_WH_BanlanceRelate.cs

示例9: Insert

 /// <summary>
 /// 插入數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <param name='model'>是否完成驗證</param>
 /// <returns>bool</returns>
 public bool Insert(Sys_Config_Field_Refer model,bool IsValid)
 {
     var e = new ModelExceptions();
     bool result = false;
     if (e.IsValid && IsValid)
     {
         //完成了驗證,開始更新數據庫了
         int _result = instance.Add(model);
         if (_result > 0)
         {
             result = true;
         }
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:21,代碼來源:Bll_Sys_Config_Field_Refer.cs

示例10: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Sys_Config_Field_Refer model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Sys_Config_Field_Refer.cs

示例11: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Correct_Preventing model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Correct_Preventing.cs

示例12: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Customer_Visit model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Customer_Visit.cs

示例13: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Document_Lending model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Document_Lending.cs

示例14: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Verify_TemplateConfig model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Verify_TemplateConfig.cs

示例15: Update

 /// <summary>
 /// 更新數據
 /// </summary>
 /// <param name='model'>實體</param>
 /// <returns>bool</returns>
 public bool Update(Loadometer_Usage model)
 {
     bool result = false;
     var e = new ModelExceptions();
     int _rseult = instance.Update(model);
     if (_rseult > 0)
     {
         result = true;
     }
     return result;
 }
開發者ID:huaminglee,項目名稱:hfoa,代碼行數:16,代碼來源:Bll_Loadometer_Usage.cs


注:本文中的QX.Comm.ModelExceptions類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。