Exemple #1
0
        static void Main(string[] args)
        {
            var connectionString = ConfigurationManager.ConnectionStrings["BAMEsteemExportDb"].ConnectionString;

            using (var db = new BAMEsteemExportContext(connectionString))
            {
            }
        }
Exemple #2
0
 public EST_DataCleanseService()
 {
     dbContext            = new BAMEsteemExportContext();
     PartManufacturers    = dbContext.PartManufacturers.ToList();
     PartModels           = dbContext.PartModels.Where(x => x.IsInScope == true).ToList();
     manufacturerComparer = new ManufacturerComparer()
     {
         Manufacturers = PartManufacturers
     };
 }
Exemple #3
0
        public EST_BAM_ModelLookupService()
        {
            bam_ApiClient = new BAM_ApiClient();
            Task.Run(() => bam_ApiClient.Setup()).Wait();

            _dbContext        = new BAMEsteemExportContext();
            _eST_BAM_Models   = GetBAM_ManufacturerList();
            _bAM_ModelService = new BAM_ModelService();
            //_estService = new EST_Service();
        }
        public RepeatJob_02_ProcessErrors()
        {
            _queryBuilder = new QueryBuilder();
            _dbContext    = new BAMEsteemExportContext();

            _startDateTime          = DateTime.Now;
            _queryBuilder.StartDate = _startDateTime;
            _queryBuilder.TimeRange = 1;

            _queryBuilder.PageCount = 100000000;

            _currentTime = _startDateTime;
        }
 public RepeatJob_05_PurgeData()
 {
     _dbContext = new BAMEsteemExportContext();
 }
Exemple #6
0
 public ManufacturerModel_Data()
 {
     db            = new BAMEsteemExportContext();
     Manufacturers = Map.Map_Results(db.PartManufacturers.ToList());
 }
 public ReportingService()
 {
     dbContext = new BAMEsteemExportContext();
 }