示例#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;
 }