Пример #1
0
        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"));
        }
Пример #2
0
 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"));
 }
Пример #3
0
 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"));
 }
Пример #4
0
 public DataSet LoadMotorTariffMasterDetail(clsMotorTariffMaster objclsMotorTariffMaster)
 {
     object[] parameters = new object[] { objclsMotorTariffMaster.MotorTariffId };
     dataAccessDS = new DataAccess();
     return(dataAccessDS.LoadDataSet(parameters, "P_TM_MotorTariffMaster_Select", "TM_MotorTariffMaster"));
 }