1- [ assembly: System . CLSCompliantAttribute ( false ) ]
2- [ assembly: System . Runtime . InteropServices . ComVisibleAttribute ( false ) ]
3- [ assembly: System . Runtime . InteropServices . GuidAttribute ( "8190b40b-ac5b-414f-8a00-9b6a2c12b010" ) ]
4-
1+ [ assembly: System . CLSCompliant ( false ) ]
2+ [ assembly: System . Reflection . AssemblyMetadata ( "RepositoryUrl" , "https://github.com/DbUp/dbup-sqlserver.git" ) ]
3+ [ assembly: System . Runtime . InteropServices . ComVisible ( false ) ]
4+ [ assembly: System . Runtime . InteropServices . Guid ( "8190b40b-ac5b-414f-8a00-9b6a2c12b010" ) ]
5+ [ assembly: System . Runtime . Versioning . TargetFramework ( ".NETStandard,Version=v2.0" , FrameworkDisplayName = ".NET Standard 2.0" ) ]
56public static class AzureSqlServerExtensions
67{
78 public static DbUp . Builder . UpgradeEngineBuilder AzureSqlDatabaseWithIntegratedSecurity ( this DbUp . Builder . SupportedDatabases supported , string connectionString , string schema = null , Azure . Core . TokenCredential tokenCredential = null , string resource = "https://database.windows.net/" , string tenantId = null ) { }
89}
910public static class SqlServerExtensions
1011{
1112 public static DbUp . Builder . UpgradeEngineBuilder JournalToSqlTable ( this DbUp . Builder . UpgradeEngineBuilder builder , string schema , string table ) { }
13+ public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , string connectionString ) { }
14+ public static void SqlDatabase ( this DbUp . SupportedDatabasesForDropDatabase supported , string connectionString ) { }
1215 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString ) { }
16+ public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , DbUp . Engine . Transactions . IConnectionManager connectionManager , string schema = null ) { }
17+ public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , string connectionString , string schema ) { }
18+ public static void SqlDatabase ( this DbUp . SupportedDatabasesForDropDatabase supported , string connectionString , int commandTimeout ) { }
1319 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition ) { }
1420 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , int commandTimeout ) { }
1521 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , string collation ) { }
22+ [ System . Obsolete ( "Use \" AzureSqlDatabaseWithIntegratedSecurity(this SupportedDatabases, string, stri" +
23+ "ng)\" if passing \" true\" to \" useAzureSqlIntegratedSecurity\" ." ) ]
24+ public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , string connectionString , string schema , bool useAzureSqlIntegratedSecurity ) { }
25+ public static void SqlDatabase ( this DbUp . SupportedDatabasesForDropDatabase supported , string connectionString , DbUp . Engine . Output . IUpgradeLog logger , int timeout = - 1 ) { }
26+ public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition , string collation ) { }
1627 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , int commandTimeout , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition ) { }
1728 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , int commandTimeout , string collation ) { }
18- public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition , string collation ) { }
1929 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , int commandTimeout , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition , string collation ) { }
2030 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , int commandTimeout = - 1 , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition = 0 , string collation = null , System . Func < string , System . Collections . Generic . IList < string > > createDbSqlCommandsFactory = null , bool checkOnly = false ) { }
2131 public static bool SqlDatabase ( this DbUp . SupportedDatabasesForEnsureDatabase supported , string connectionString , DbUp . Engine . Output . IUpgradeLog logger , int timeout = - 1 , DbUp . SqlServer . AzureDatabaseEdition azureDatabaseEdition = 0 , string collation = null , System . Func < string , System . Collections . Generic . IList < string > > createDbSqlCommandsFactory = null , bool checkOnly = false ) { }
22- public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , string connectionString ) { }
23- public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , string connectionString , string schema ) { }
24- public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , DbUp . Engine . Transactions . IConnectionManager connectionManager , string schema = null ) { }
25- [ System . ObsoleteAttribute ( "Use " AzureSqlDatabaseWithIntegratedSecurity ( this SupportedDatabases , string , string ) " if passing " true" to "useAzureSqlIntegratedSecurity" . ") ]
26- public static DbUp . Builder . UpgradeEngineBuilder SqlDatabase ( this DbUp . Builder . SupportedDatabases supported , string connectionString , string schema , bool useAzureSqlIntegratedSecurity ) { }
27- public static void SqlDatabase ( this DbUp . SupportedDatabasesForDropDatabase supported , string connectionString ) { }
28- public static void SqlDatabase ( this DbUp . SupportedDatabasesForDropDatabase supported , string connectionString , int commandTimeout ) { }
29- public static void SqlDatabase ( this DbUp . SupportedDatabasesForDropDatabase supported , string connectionString , DbUp . Engine . Output . IUpgradeLog logger , int timeout = - 1 ) { }
3032}
3133namespace DbUp . SqlServer
3234{
33- public enum AzureDatabaseEdition : int
35+ public enum AzureDatabaseEdition
3436 {
35- None = 0
36- Basic = 1
37- Standard = 2
38- Premium = 3
37+ None = 0 ,
38+ Basic = 1 ,
39+ Standard = 2 ,
40+ Premium = 3 ,
3941 }
40- public class AzureSqlConnectionManager : DbUp . Engine . Transactions . DatabaseConnectionManager , DbUp . Engine . Transactions . IConnectionManager
42+ public class AzureSqlConnectionManager : DbUp . Engine . Transactions . DatabaseConnectionManager
4143 {
4244 public AzureSqlConnectionManager ( string connectionString , Azure . Core . TokenCredential tokenCredential , string resource = "https://database.windows.net/" , string tenantId = null ) { }
4345 public override System . Collections . Generic . IEnumerable < string > SplitScriptIntoCommands ( string scriptContents ) { }
4446 }
45- public class SqlConnectionManager : DbUp . Engine . Transactions . DatabaseConnectionManager , DbUp . Engine . Transactions . IConnectionManager
47+ public class SqlConnectionManager : DbUp . Engine . Transactions . DatabaseConnectionManager
4648 {
4749 public SqlConnectionManager ( string connectionString ) { }
4850 public override System . Collections . Generic . IEnumerable < string > SplitScriptIntoCommands ( string scriptContents ) { }
4951 }
50- public class SqlScriptExecutor : DbUp . Support . ScriptExecutor , DbUp . Engine . IScriptExecutor
52+ public class SqlScriptExecutor : DbUp . Support . ScriptExecutor
5153 {
5254 public SqlScriptExecutor ( System . Func < DbUp . Engine . Transactions . IConnectionManager > connectionManagerFactory , System . Func < DbUp . Engine . Output . IUpgradeLog > log , string schema , System . Func < bool > variablesEnabled , System . Collections . Generic . IEnumerable < DbUp . Engine . IScriptPreprocessor > scriptPreprocessors , System . Func < DbUp . Engine . IJournal > journalFactory ) { }
5355 protected override void ExecuteCommandsWithinExceptionHandler ( int index , DbUp . Engine . SqlScript script , System . Action executeCommand ) { }
5456 protected override string GetVerifySchemaSql ( string schema ) { }
5557 }
56- public class SqlServerObjectParser : DbUp . Support . SqlObjectParser , DbUp . Engine . ISqlObjectParser
58+ public class SqlServerObjectParser : DbUp . Support . SqlObjectParser
5759 {
5860 public SqlServerObjectParser ( ) { }
5961 public override string QuoteIdentifier ( string objectName , DbUp . Support . ObjectNameOptions objectNameOptions ) { }
6062 }
61- public class SqlTableJournal : DbUp . Support . TableJournal , DbUp . Engine . IJournal
63+ public class SqlTableJournal : DbUp . Support . TableJournal
6264 {
6365 public SqlTableJournal ( System . Func < DbUp . Engine . Transactions . IConnectionManager > connectionManager , System . Func < DbUp . Engine . Output . IUpgradeLog > logger , string schema , string table ) { }
6466 protected override string CreateSchemaTableSql ( string quotedPrimaryKeyName ) { }
@@ -70,13 +72,13 @@ namespace DbUp.SqlServer.Helpers
7072{
7173 public class TemporarySqlDatabase : System . IDisposable
7274 {
73- public TemporarySqlDatabase ( string name ) { }
7475 public TemporarySqlDatabase ( Microsoft . Data . SqlClient . SqlConnectionStringBuilder connectionStringBuilder ) { }
76+ public TemporarySqlDatabase ( string name ) { }
7577 public TemporarySqlDatabase ( string name , string instanceName ) { }
7678 public DbUp . Helpers . AdHocSqlRunner AdHoc { get ; }
7779 public string ConnectionString { get ; }
7880 public void Create ( ) { }
7981 public void Dispose ( ) { }
8082 public static DbUp . SqlServer . Helpers . TemporarySqlDatabase FromConnectionString ( string connectionString ) { }
8183 }
82- }
84+ }
0 commit comments