protected IStageArgs CreateLoadArgs(LoadStage loadStage) { return (new StageArgs(loadStage, _dbDeployInfo[loadStage.ToLoadBubble()] , new LoadDirectory(_loadMetadata.LocationOfFlatFiles.TrimEnd(new[] { '\\' })))); }
/// <inheritdoc/> public string GetDatabaseRuntimeName(LoadStage loadStage, INameDatabasesAndTablesDuringLoads namer = null) { var baseName = GetDatabaseRuntimeName(); if (namer == null) { namer = new FixedStagingDatabaseNamer(baseName); } return(namer.GetDatabaseName(baseName, loadStage.ToLoadBubble())); }
/// <inheritdoc/> public string GetRuntimeName(LoadStage stage, INameDatabasesAndTablesDuringLoads tableNamingScheme = null) { return(GetRuntimeName(stage.ToLoadBubble(), tableNamingScheme)); }