Beispiel #1
0
 public DataSet SaveFireTariffMaster(clsFireTariffMaster objFireTariffMaster)
 {
     object[] parameters = new object[] { objFireTariffMaster.FireTariffId,
                                          objFireTariffMaster.FireTariffGroupId,
                                          objFireTariffMaster.Code,
                                          objFireTariffMaster.TOClassification,
                                          objFireTariffMaster.ConstructionClassification1A,
                                          objFireTariffMaster.ConstructionClassification1B,
                                          objFireTariffMaster.ConstructionClassification2,
                                          objFireTariffMaster.ConstructionClassification3,
                                          objFireTariffMaster.WarrantyApplicable,
                                          objFireTariffMaster.User };
     dataAccessDS = new DataAccess();
     return(dataAccessDS.LoadDataSet(parameters, "P_TM_FireTariffMaster_InsertUpdate", "TM_FireTariffMaster"));
 }
Beispiel #2
0
 public DataSet LoadFireTariffMaster(clsFireTariffMaster objFireTariffMaster)
 {
     object[] parameters = new object[] { objFireTariffMaster.FireTariffGroupId, objFireTariffMaster.FireTariffId, objFireTariffMaster.Code, objFireTariffMaster.TOClassification };
     dataAccessDS = new DataAccess();
     return(dataAccessDS.LoadDataSet(parameters, "P_TM_FireTariffMaster_Select", "TM_FireTariffMaster"));
 }