Example #1
0
 protected IStageArgs CreateLoadArgs(LoadStage loadStage)
 {
     return
         (new StageArgs(loadStage,
                        _dbDeployInfo[loadStage.ToLoadBubble()]
                        , new LoadDirectory(_loadMetadata.LocationOfFlatFiles.TrimEnd(new[] { '\\' }))));
 }
Example #2
0
        /// <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()));
        }
Example #3
0
 /// <inheritdoc/>
 public string GetRuntimeName(LoadStage stage, INameDatabasesAndTablesDuringLoads tableNamingScheme = null)
 {
     return(GetRuntimeName(stage.ToLoadBubble(), tableNamingScheme));
 }