Method | Description | |
---|---|---|
CreateLogin ( string loginName ) : void | ||
CreateLogin ( string loginName, string password ) : void | ||
ExecuteScript ( IDbConnection connection, string fileName ) : void |
Executes a database script using the given connection.
|
|
ExecuteScript ( string fileName ) : void |
Executes a database script as the admin user.
|
|
ExecuteStatement ( IDbConnection connection, string statement ) : void |
Executes the given statement using the given connection.
|
|
ExecuteStatement ( string statement ) : void |
Executes the given statement as the admin user.
|
|
GrantDatabaseAccess ( string loginName ) : void | ||
OpenAdminConnection ( IDbConnection &connection ) : void |
Opens a connection as the admin user.
|
|
OpenConnection ( IDbConnection &connection ) : void |
Opens a connection as the schema user.
|
Method | Description | |
---|---|---|
OpenConnection ( IDbConnection &connection, string connectionString ) : void |
public CreateLogin ( string loginName ) : void | ||
loginName | string | |
return | void |
public CreateLogin ( string loginName, string password ) : void | ||
loginName | string | |
password | string | |
return | void |
public ExecuteScript ( IDbConnection connection, string fileName ) : void | ||
connection | IDbConnection | The connection to be used to execute the script. |
fileName | string | The path to the script to be executed. |
return | void |
public ExecuteScript ( string fileName ) : void | ||
fileName | string | The path to the script to be executed. |
return | void |
public ExecuteStatement ( IDbConnection connection, string statement ) : void | ||
connection | IDbConnection | The connection used to execute the statement. |
statement | string | The statement to be executed. |
return | void |
public ExecuteStatement ( string statement ) : void | ||
statement | string | The statement to be executed. |
return | void |
public GrantDatabaseAccess ( string loginName ) : void | ||
loginName | string | |
return | void |
public OpenAdminConnection ( IDbConnection &connection ) : void | ||
connection | IDbConnection | The connection object to be created and opened. |
return | void |
public OpenConnection ( IDbConnection &connection ) : void | ||
connection | IDbConnection | The connection object to be created and opened. |
return | void |