public int LeadFormatSave(IDbTransaction txn)
 {
     try
     {
         int rowins = 0;
         LeadFormatDesigner.DataAccess.ClsLeadDesignerDataService LeadDesig = new ClsLeadDesignerDataService(txn);
         rowins = LeadDesig.LeadFormat_Save(_ID, _LeadFormatName, _FormatType, _Description);
         return(rowins);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "LeadFormatSave()", "ClsLeadFormatBusiness.cs");
         return(0);
     }
 }
 public int LeadFormatDesignerSave(IDbTransaction txn)
 {
     try
     {
         int rowins = 0;
         LeadFormatDesigner.DataAccess.ClsLeadDesignerDataService LeadDesig = new ClsLeadDesignerDataService(txn);
         rowins = LeadDesig.LeadFormatDesigner_Save(_LeadFieldsID, _LeadFormatID, _FieldID, _DefaultValue, _IsRequired, _StartPosition, _Length, _Delimiters);
         return(rowins);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "LeadFormatDesignerSave()", "ClsLeadFormatBusiness.cs");
         return(0);
     }
 }
Example #3
0
 public int Save(IDbTransaction txn)
 {
     try
     {
         int rowins = 0;
         LeadFormatDesigner.DataAccess.ClsLeadDesignerDataService LeadDesig = new ClsLeadDesignerDataService(txn);
         rowins = LeadDesig.LeadDesigner_Save(_ID, _FieldName, _FieldType, _FieldSize, _IsRequired);
         return(rowins);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "Save()", "ClsLeadDesignerBusiness.cs");
         return(0);
     }
 }