public TakeRateDataContext(string cdsId) : base(cdsId)
 {
     _documentDataStore = new OXODocDataStore(cdsId);
     _takeRateDataStore = new TakeRateDataStore(cdsId);
     _marketGroupDataStore = new MarketGroupDataStore(cdsId);
     _programmeDataStore = new ProgrammeDataStore(cdsId);
 }
Esempio n. 2
0
 public TakeRateDataContext(string cdsId) : base(cdsId)
 {
     _documentDataStore    = new OXODocDataStore(cdsId);
     _takeRateDataStore    = new TakeRateDataStore(cdsId);
     _marketGroupDataStore = new MarketGroupDataStore(cdsId);
     _programmeDataStore   = new ProgrammeDataStore(cdsId);
 }
Esempio n. 3
0
        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;
        }
Esempio n. 4
0
 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 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);
 }
Esempio n. 6
0
        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 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;
 }