Method | Description | |
---|---|---|
DynamicDatabase ( ) : System |
Initializes a new instance of the DynamicDatabase class.
|
|
DynamicDatabase ( |
Initializes a new instance of the DynamicDatabase class.
|
|
DynamicDatabase ( |
Initializes a new instance of the DynamicDatabase class.
|
|
DynamicDatabase ( string connectionStringName ) : System |
Initializes a new instance of the DynamicDatabase class.
|
|
DynamicDatabase ( string connectionStringName, IEnumerable |
Initializes a new instance of the DynamicDatabase class.
|
|
DynamicDatabase ( string connectionString, string providerName ) : System |
Initializes a new instance of the DynamicDatabase class.
|
|
DynamicDatabase ( string connectionString, string providerName, IEnumerable |
Initializes a new instance of the DynamicDatabase class.
|
|
Execute ( ) : int |
Executes a series of DBCommands
|
|
Execute ( IEnumerable |
Executes a series of DBCommands optionally in a transaction
|
|
Execute ( string sql ) : int |
Executes a single DBCommand
|
|
ExecuteTransaction ( ) : int |
Executes a series of DBCommands in a transaction
|
|
Fetch ( |
Runs a query against the database.
|
|
Fetch ( string sql ) : IList |
Runs a query against the database.
|
|
GetTable ( string tableName, string primaryKeyField = "" ) : |
Gets a table in the database.
|
|
OpenConnection ( ) : |
Returns a database connection.
|
|
Query ( |
Enumerates the reader yielding the results
|
|
Query ( string sql ) : IEnumerable |
Enumerates the reader yielding the result
|
|
Scalar ( |
Returns a single result
|
|
Scalar ( string sql ) : object |
Returns a single result
|
Method | Description | |
---|---|---|
CreateDbCommand ( |
||
Initialize ( string connectionString, string providerName, IEnumerable |
public DynamicDatabase ( |
||
dialect | The dialect. | |
connectionStringName | string | Name of the connection string. |
return | System |
public DynamicDatabase ( |
||
dialect | The dialect. | |
connectionString | string | Database connection string |
providerName | string | Invariant name of the database provider |
return | System |
public DynamicDatabase ( string connectionStringName ) : System | ||
connectionStringName | string | Name of the connection string. |
return | System |
public DynamicDatabase ( string connectionStringName, IEnumerable |
||
connectionStringName | string | Name of the connection string. |
databaseDetectors | IEnumerable |
Classes used to probe the database. |
return | System |
public DynamicDatabase ( string connectionString, string providerName ) : System | ||
connectionString | string | Database connection string |
providerName | string | Invariant name of the database provider |
return | System |
public DynamicDatabase ( string connectionString, string providerName, IEnumerable |
||
connectionString | string | Database connection string |
providerName | string | Invariant name of the database provider |
databaseDetectors | IEnumerable |
Classes used to probe the database. |
return | System |
public Execute ( IEnumerable |
||
commands | IEnumerable |
|
transaction | bool | |
return | int |
public Fetch ( |
||
command | ||
return | IList |
public GetTable ( string tableName, string primaryKeyField = "" ) : |
||
tableName | string | |
primaryKeyField | string | |
return |
public OpenConnection ( ) : |
||
return |
public Query ( |
||
command | ||
return | IEnumerable |
public Scalar ( |
||
command | ||
return | object |