public Waterfall(WaterfallContext waterfallContext) { _etlService = (IStageDataService)UnityConfig.DefaultContainer.Resolve(typeof(IStageDataService), null, null); _migrationService = (IMigrationDataService)UnityConfig.DefaultContainer.Resolve(typeof(IMigrationDataService), null, null); _waterfallContext = waterfallContext; itemsCount = 8; itemsProgress = 1; }
public WaterfallContext LoadWaterfall(int reportDatasetID) { string contextText = _clientService.GetWaterfallContextByReportDataSetID(reportDatasetID); if (!string.IsNullOrWhiteSpace(contextText)) { Waterfall = Newtonsoft.Json.JsonConvert.DeserializeObject <WaterfallContext>(contextText); } return(Waterfall); }
public Waterfall(IStageDataService etlService, IMigrationDataService migrationService, WaterfallContext waterfallContext) { _etlService = etlService; _migrationService = migrationService; }
public ETLToLive(WaterfallContext waterfallContext) { _etlService = (IStageDataService)UnityConfig.DefaultContainer.Resolve(typeof(IStageDataService), null, null); _migrationService = (IMigrationDataService)UnityConfig.DefaultContainer.Resolve(typeof(IMigrationDataService), null, null); _waterfallContext = waterfallContext; }