public SqlServerManager(string connectionString)
 {
     Server    = new SqlServer(new SqlConnectionStringBuilder(connectionString));
     Databases = new SqlDatabaseCollection(new SqlConnectionStringBuilder(connectionString));
 }
Exemple #2
0
 internal SqlDatabase(SqlConnectionStringBuilder builder)
 {
     _builder = builder;
     _server  = new SqlServer(_builder);
     Name     = _builder.InitialCatalog;
 }