Exemple #1
0
        public int InsUpdCommissionType(EMCommissionType objCommType)
        {
            Hashtable htparams = new Hashtable
            {
                { "@ComId", objCommType.Id },
                { "@Comkey", objCommType.key },
                { "@ComDeactivate", objCommType.Deactivate },
                { "@ComDesc", objCommType.Desc },
                { "@ComCategory", objCommType.Category },
                { "@ComLSCategory", objCommType.LSCategory },
                { "@ComDType", objCommType.DType },
                { "@ComDComm", objCommType.DComm },
                { "@ComDRate", objCommType.DRate },
                { "@ComUDesc", objCommType.UDesc },
                { "@ComDVat", objCommType.DVat },
                { "@ComNTFee", objCommType.NTFee },
                { "@ComZUType", objCommType.ZUType },
                { "@ComIncome", objCommType.Income },
                { "@ComOVat", objCommType.OVat },
                { "@CreatedBy", objCommType.CreatedBy }
            };
            int IsSuccess = ExecuteNonQuery("CommissionTypes_InsertUpdate", htparams);

            return(IsSuccess);
        }
Exemple #2
0
 public int InsUpdCommissionType(EMCommissionType objCommType)
 {
     return(objDACommType.InsUpdCommissionType(objCommType));
 }