Пример #1
0
 public DataSet LoadExcess(clsExcessMaster objExcess)
 {
     object[] parameters = new object[1] {
         objExcess.ExcessID
     };
     dataAccessDS = new DataAccess();
     return(dataAccessDS.LoadDataSet(parameters, "P_TM_ExcessMaster_Select", "ExcessSelect"));
 }
Пример #2
0
 public DataSet SaveExcess(clsExcessMaster objExcess)
 {
     object[] parameters = new object[] { objExcess.ExcessID,
                                          objExcess.ClassID,
                                          objExcess.SubClassID,
                                          objExcess.Description,
                                          objExcess.EffFromDate,
                                          objExcess.EffToDate,
                                          objExcess.Status,
                                          objExcess.LoginUserId,
                                          objExcess.PageMethod };
     dataAccessDS = new DataAccess();
     return(dataAccessDS.LoadDataSet(parameters, "P_TM_ExcessMaster_InsertUpdate", "Excess"));
 }