Пример #1
0
 public SqlServerManager(string connectionString)
 {
     Server    = new SqlServer(new SqlConnectionStringBuilder(connectionString));
     Databases = new SqlDatabaseCollection(new SqlConnectionStringBuilder(connectionString));
 }
Пример #2
0
 internal SqlDatabase(SqlConnectionStringBuilder builder)
 {
     _builder = builder;
     _server  = new SqlServer(_builder);
     Name     = _builder.InitialCatalog;
 }