コード例 #1
0
 public TakeRateDataContext(string cdsId) : base(cdsId)
 {
     _documentDataStore = new OXODocDataStore(cdsId);
     _takeRateDataStore = new TakeRateDataStore(cdsId);
     _marketGroupDataStore = new MarketGroupDataStore(cdsId);
     _programmeDataStore = new ProgrammeDataStore(cdsId);
 }
コード例 #2
0
 public TakeRateDataContext(string cdsId) : base(cdsId)
 {
     _documentDataStore    = new OXODocDataStore(cdsId);
     _takeRateDataStore    = new TakeRateDataStore(cdsId);
     _marketGroupDataStore = new MarketGroupDataStore(cdsId);
     _programmeDataStore   = new ProgrammeDataStore(cdsId);
 }
コード例 #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;
        }
コード例 #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);
 }
コード例 #5
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);
 }
コード例 #6
0
        public Programme Programme(ModelTrim trim)
        {
            ProgrammeDataStore ds     = new ProgrammeDataStore("system");
            Programme          retVal = new Programme();

            retVal = ds.ProgrammeGet(trim.ProgrammeId);
            return(retVal);
        }
コード例 #7
0
        public Programme Programme(ModelTrim trim)
        {
            ProgrammeDataStore ds = new ProgrammeDataStore("system");
            Programme retVal = new Programme();

            retVal = ds.ProgrammeGet(trim.ProgrammeId);
            return retVal;
        }
コード例 #8
0
 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);
 }
コード例 #9
0
 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);
 }
コード例 #10
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;
 }