public DataSet LoadMotorTariffMaster(clsMotorTariffMaster objclsMotorTariffMaster) { object[] parameters = new object[] { objclsMotorTariffMaster.MotorTariffId, objclsMotorTariffMaster.Zone, objclsMotorTariffMaster.VehicleTypeId, objclsMotorTariffMaster.EffFromDate, objclsMotorTariffMaster.EffFromDate1, objclsMotorTariffMaster.EffToDate, objclsMotorTariffMaster.EffToDate1 }; dataAccessDS = new DataAccess(); return(dataAccessDS.LoadDataSet(parameters, "P_TM_MotorTariffMaster_Select", "TM_MotorTariffMaster")); }
public DataSet SaveMotorTariffMaster(clsMotorTariffMaster objclsMotorTariffMaster) { object[] parameters = new object[] { objclsMotorTariffMaster.MotorTariffId, objclsMotorTariffMaster.Zone, objclsMotorTariffMaster.VehicleTypeId, objclsMotorTariffMaster.MotorcycleTypeId, objclsMotorTariffMaster.MultiplyingFactor, objclsMotorTariffMaster.EffFromDate, objclsMotorTariffMaster.EffToDate, objclsMotorTariffMaster.User }; dataAccessDS = new DataAccess(); return(dataAccessDS.LoadDataSet(parameters, "P_TM_MotorTariffMaster_Insert", "TM_MotorTariffMaster")); }
public DataSet SaveMotorTariffMasterDetail(clsMotorTariffMaster objclsMotorTariffMaster) { object[] parameters = new object[] { objclsMotorTariffMaster.MotorTariffId, objclsMotorTariffMaster.MotorTariffName, objclsMotorTariffMaster.VehicleTypeId, objclsMotorTariffMaster.MotorCoverageId, objclsMotorTariffMaster.BasicRate, objclsMotorTariffMaster.RatePercentage, objclsMotorTariffMaster.EffectiveDateFrom, objclsMotorTariffMaster.EffectiveDateTo, objclsMotorTariffMaster.User, objclsMotorTariffMaster.Status }; dataAccessDS = new DataAccess(); return(dataAccessDS.LoadDataSet(parameters, "P_TM_MotorTariffMaster_InsertUpdate", "TM_MotorTariffMaster")); }
public DataSet LoadMotorTariffMasterDetail(clsMotorTariffMaster objclsMotorTariffMaster) { object[] parameters = new object[] { objclsMotorTariffMaster.MotorTariffId }; dataAccessDS = new DataAccess(); return(dataAccessDS.LoadDataSet(parameters, "P_TM_MotorTariffMaster_Select", "TM_MotorTariffMaster")); }