@@ -27,7 +27,7 @@ public abstract class SqlDriver
2727 /// <summary>
2828 /// Gets an instance that provides the most essential information about underlying RDBMS.
2929 /// </summary>
30- public CoreServerInfo CoreServerInfo { get ; private set ; }
30+ public CoreServerInfo CoreServerInfo { get ; }
3131
3232 /// <summary>
3333 /// Gets an instance that provides complete information about underlying RDBMS.
@@ -85,7 +85,7 @@ public SqlCompilationResult Compile(ISqlCompileUnit statement, SqlCompilerConfig
8585 public DefaultSchemaInfo GetDefaultSchema ( SqlConnection connection )
8686 {
8787 ArgumentValidator . EnsureArgumentNotNull ( connection , nameof ( connection ) ) ;
88- if ( connection . Driver != this ) {
88+ if ( connection . Driver != this ) {
8989 throw new ArgumentException ( Strings . ExSpecifiedConnectionDoesNotBelongToThisDriver ) ;
9090 }
9191
@@ -101,7 +101,7 @@ public DefaultSchemaInfo GetDefaultSchema(SqlConnection connection)
101101 public Task < DefaultSchemaInfo > GetDefaultSchemaAsync ( SqlConnection connection , CancellationToken token )
102102 {
103103 ArgumentValidator . EnsureArgumentNotNull ( connection , nameof ( connection ) ) ;
104- if ( connection . Driver != this ) {
104+ if ( connection . Driver != this ) {
105105 throw new ArgumentException ( Strings . ExSpecifiedConnectionDoesNotBelongToThisDriver ) ;
106106 }
107107
@@ -119,7 +119,7 @@ public SqlExtractionResult Extract(SqlConnection connection, IEnumerable<SqlExtr
119119 ArgumentValidator . EnsureArgumentNotNull ( connection , nameof ( connection ) ) ;
120120 ArgumentValidator . EnsureArgumentNotNull ( tasks , nameof ( tasks ) ) ;
121121
122- if ( connection . Driver != this ) {
122+ if ( connection . Driver != this ) {
123123 throw new ArgumentException ( Strings . ExSpecifiedConnectionDoesNotBelongToThisDriver ) ;
124124 }
125125
@@ -158,13 +158,13 @@ public SqlExtractionResult Extract(SqlConnection connection, IEnumerable<SqlExtr
158158 /// <param name="tasks">Connection to use.</param>
159159 /// <param name="token">The token to cancel asynchronous operation if needed.</param>
160160 /// <returns>Extracted catalogs.</returns>
161- public async Task < SqlExtractionResult > ExtractAsync (
162- SqlConnection connection , IEnumerable < SqlExtractionTask > tasks , CancellationToken token = default )
161+ public async Task < SqlExtractionResult > ExtractAsync ( SqlConnection connection , IEnumerable < SqlExtractionTask > tasks ,
162+ CancellationToken token = default )
163163 {
164164 ArgumentValidator . EnsureArgumentNotNull ( connection , nameof ( connection ) ) ;
165165 ArgumentValidator . EnsureArgumentNotNull ( tasks , nameof ( tasks ) ) ;
166166
167- if ( connection . Driver != this ) {
167+ if ( connection . Driver != this ) {
168168 throw new ArgumentException ( Strings . ExSpecifiedConnectionDoesNotBelongToThisDriver ) ;
169169 }
170170
@@ -464,15 +464,16 @@ private void ValidateCompilerConfiguration(SqlCompilerConfiguration configuratio
464464 private Schema ExtractSchema ( SqlConnection connection , string databaseName , string schemaName )
465465 {
466466 var task = new SqlExtractionTask ( databaseName , schemaName ) ;
467- return Extract ( connection , new [ ] { task } ) . Catalogs [ databaseName ] . Schemas . FirstOrDefault ( el=> el . Name == schemaName ) ;
467+ return Extract ( connection , new [ ] { task } )
468+ . Catalogs [ databaseName ] . Schemas . FirstOrDefault ( el => el . Name == schemaName ) ;
468469 }
469470
470- private async Task < Schema > ExtractSchemaAsync (
471- SqlConnection connection , string databaseName , string schemaName , CancellationToken token = default )
471+ private async Task < Schema > ExtractSchemaAsync ( SqlConnection connection , string databaseName , string schemaName ,
472+ CancellationToken token = default )
472473 {
473474 var task = new SqlExtractionTask ( databaseName , schemaName ) ;
474475 return ( await ExtractAsync ( connection , new [ ] { task } , token ) . ConfigureAwait ( false ) )
475- . Catalogs [ databaseName ] . Schemas . FirstOrDefault ( el=> el . Name == schemaName ) ;
476+ . Catalogs [ databaseName ] . Schemas . FirstOrDefault ( el => el . Name == schemaName ) ;
476477 }
477478
478479 private static void CleanSchemas ( Catalog catalog , IEnumerable < string > allowedSchemas )
0 commit comments