public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory) { if (objectFactory == null) { throw new ArgumentNullException("objectFactory"); } return new DeployDbProjectDeploymentTask( objectFactory.CreateProjectInfoRepository(), objectFactory.CreateEnvironmentInfoRepository(), objectFactory.CreateArtifactsRepository(), objectFactory.CreateDbScriptRunnerFactory(), objectFactory.CreateDbVersionProvider(), objectFactory.CreateFileAdapter(), objectFactory.CreateZipFileAdapter()); }
public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory, string projectConfigurationName, string projectConfigurationBuildId, string targetEnvironmentName) { if (objectFactory == null) { throw new ArgumentNullException("objectFactory"); } return new MigrateDbDeploymentTask( objectFactory.CreateEnvironmentInfoRepository(), objectFactory.CreateArtifactsRepository(), objectFactory.CreateDbScriptRunnerFactory(), objectFactory.CreateDbVersionProvider(), this, projectConfigurationName, projectConfigurationBuildId, targetEnvironmentName); }
public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory) { if (objectFactory == null) { throw new ArgumentNullException("objectFactory"); } return new DeployDbProjectDeploymentTask( objectFactory.CreateProjectInfoRepository(), objectFactory.CreateEnvironmentInfoRepository(), objectFactory.CreateArtifactsRepository(), objectFactory.CreateDbScriptRunnerFactory(), objectFactory.CreateDbVersionProvider(), objectFactory.CreateFileAdapter(), objectFactory.CreateZipFileAdapter(), objectFactory.CreateScriptsToRunWebSelector(), objectFactory.CreateMsSqlDatabasePublisher(), objectFactory.CreateDbManagerFactory(), objectFactory.CreateUserNameNormalizer(), objectFactory.CreateDirectoryAdapter()); }
public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory) { if (objectFactory == null) { throw new ArgumentNullException("objectFactory"); } return (new DeployDbProjectDeploymentTask( objectFactory.CreateProjectInfoRepository(), objectFactory.CreateEnvironmentInfoRepository(), objectFactory.CreateArtifactsRepository(), objectFactory.CreateDbScriptRunnerFactory(), objectFactory.CreateDbVersionProvider(), objectFactory.CreateFileAdapter(), objectFactory.CreateZipFileAdapter(), objectFactory.CreateScriptsToRunWebSelector(), objectFactory.CreateMsSqlDatabasePublisher(), objectFactory.CreateDbManagerFactory(), objectFactory.CreateUserNameNormalizer(), objectFactory.CreateDirectoryAdapter())); }