SqlDatabaseSetup Methods |
The SqlDatabaseSetup type exposes the following members.
Name | Description | |
---|---|---|
![]() | CreateDatabase(String) |
Creates a new database without logins.
|
![]() | CreateDatabase(String, ListSqlDatabaseLogin) |
Creates a new database with logins.
|
![]() | CreateDatabase(String, ListSqlDatabaseLogin, Boolean) |
Creates a new database with logins.
|
![]() | DropDatabase |
Deletes a database.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ExistsDatabase |
Checks if a specific database exists.
|
![]() | ExistsDatabaseUser |
Checks if a specific database user or role exists.
|
![]() | ExistsLogin |
Checks if a database server login exists.
|
![]() ![]() | GetConnectionString(String, String) |
Gets a connection string for trusted connection.
|
![]() ![]() | GetConnectionString(String, String, String, String) |
Gets a connection string for SQL authentication.
|
![]() | GetDatabaseStatus |
Retrieves the status of a database.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | TestServerConnection |
Tests the connection to the database server.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpgradeDatabase |
Upgrades a database to the builtin version.
|