public void DeployDatabase(DeployerConfigBase config, UnitTesting.TestSetup.Configuration.ConnectionContext connection) { config.ThrowIfNull("config"); connection.ThrowIfNull("connection"); connection.ConnectionString.ThrowIfNull <InvalidOperationException>("ConnectionString is null"); connection.ProviderName.ThrowIfNull <InvalidOperationException>("ProviderName is null"); var deployerConfig = config as SSDTProjectDeployerConfig; deployerConfig.ThrowIfNull <InvalidCastException>($"Cannot cast config of type '{config.GetType().Name}' to '{typeof(SSDTProjectDeployerConfig).Name}'"); InternalDeploy.Deploy( deployerConfig.DatabaseProjectFileName, deployerConfig.BuildConfiguration, connection.ProviderName, connection.ConnectionString ); }
public void DeployDatabase(DeployerConfigBase config, ConnectionContext connection) { throw new NotImplementedException(); }