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 static void Deploy(string databaseProjectFileName, string configuration, string providerInvariantName, string connectionString)
 {
     InternalDeploy.DeployDatabaseProject(databaseProjectFileName, configuration, providerInvariantName, connectionString);
 }