示例#1
0
 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);
        }
示例#3
0
 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;
 }