public TakeRateDataContext(string cdsId) : base(cdsId) { _documentDataStore = new OXODocDataStore(cdsId); _takeRateDataStore = new TakeRateDataStore(cdsId); _marketGroupDataStore = new MarketGroupDataStore(cdsId); _programmeDataStore = new ProgrammeDataStore(cdsId); }
public static void PopulateConfiguration(Programme programme) { var ds = new ProgrammeDataStore("system"); var obj = ds.ProgrammeGetConfiguration(programme.Id); if (obj == null) { return; } programme.Id = obj.Id; programme.VehicleName = obj.VehicleName; programme.VehicleAKA = obj.VehicleAKA; programme.VehicleMake = obj.VehicleMake; programme.VehicleDisplayFormat = obj.VehicleDisplayFormat; programme.ModelYear = obj.ModelYear; programme.PS = obj.PS; programme.J1 = obj.J1; programme.Notes = obj.Notes; programme.ProductManager = obj.ProductManager; programme.RSGUID = obj.RSGUID; programme.Active = obj.Active; programme.AllBodies = obj.AllBodies; programme.AllEngines = obj.AllEngines; programme.AllTransmissions = obj.AllTransmissions; programme.AllTrims = obj.AllTrims; }
public ForecastDataContext(string cdsId) : base(cdsId) { _forecastDataStore = new ForecastDataStore(cdsId); _programmeDataStore = new ProgrammeDataStore(cdsId); _modelTrimDataStore = new ModelTrimDataStore(cdsId); _transmissionDataStore = new ModelTransmissionDataStore(cdsId); _vehicleDataStore = new VehicleDataStore(cdsId); }
public Programme Programme(ModelTrim trim) { ProgrammeDataStore ds = new ProgrammeDataStore("system"); Programme retVal = new Programme(); retVal = ds.ProgrammeGet(trim.ProgrammeId); return(retVal); }
public Programme Programme(ModelTrim trim) { ProgrammeDataStore ds = new ProgrammeDataStore("system"); Programme retVal = new Programme(); retVal = ds.ProgrammeGet(trim.ProgrammeId); return retVal; }
public VehicleDataContext(string cdsId) : base(cdsId) { _vehicleDataStore = new VehicleDataStore(cdsId); _documentDataStore = new OXODocDataStore(cdsId); _programmeDataStore = new ProgrammeDataStore(cdsId); _volumeDataStore = new TakeRateDataStore(cdsId); _modelDataStore = new ModelDataStore(cdsId); _marketDataStore = new MarketDataStore(cdsId); _marketGroupDataStore = new MarketGroupDataStore(cdsId); _bodyDataStore = new ModelBodyDataStore(cdsId); _trimDataStore = new ModelTrimDataStore(cdsId); _engineDataStore = new ModelEngineDataStore(cdsId); _transmissionDataStore = new ModelTransmissionDataStore(cdsId); _vehicleDataStore = new VehicleDataStore(cdsId); _featureDataStore = new FeatureDataStore(cdsId); _derivativeDataStore = new DerivativeDataStore(cdsId); }
public static void PopulateConfiguration(Programme programme) { var ds = new ProgrammeDataStore("system"); var obj = ds.ProgrammeGetConfiguration(programme.Id); if (obj == null) return; programme.Id = obj.Id; programme.VehicleName = obj.VehicleName; programme.VehicleAKA = obj.VehicleAKA; programme.VehicleMake = obj.VehicleMake; programme.VehicleDisplayFormat = obj.VehicleDisplayFormat; programme.ModelYear = obj.ModelYear; programme.PS = obj.PS; programme.J1 = obj.J1; programme.Notes = obj.Notes; programme.ProductManager = obj.ProductManager; programme.RSGUID = obj.RSGUID; programme.Active = obj.Active; programme.AllBodies = obj.AllBodies; programme.AllEngines = obj.AllEngines; programme.AllTransmissions = obj.AllTransmissions; programme.AllTrims = obj.AllTrims; }