Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
CreateDbCommand ( |
||
Initialize ( string connectionString, string providerName, IEnumerable |
public DynamicDatabase ( |
||
dialect | The dialect. | |
connectionStringName | string | Name of the connection string. |
Результат | System |
public DynamicDatabase ( |
||
dialect | The dialect. | |
connectionString | string | Database connection string |
providerName | string | Invariant name of the database provider |
Результат | System |
public DynamicDatabase ( string connectionStringName ) : System | ||
connectionStringName | string | Name of the connection string. |
Результат | System |
public DynamicDatabase ( string connectionStringName, IEnumerable |
||
connectionStringName | string | Name of the connection string. |
databaseDetectors | IEnumerable |
Classes used to probe the database. |
Результат | System |
public DynamicDatabase ( string connectionString, string providerName ) : System | ||
connectionString | string | Database connection string |
providerName | string | Invariant name of the database provider |
Результат | 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. |
Результат | System |
public Execute ( IEnumerable |
||
commands | IEnumerable |
|
transaction | bool | |
Результат | int |
public Fetch ( |
||
command | ||
Результат | IList |
public GetTable ( string tableName, string primaryKeyField = "" ) : |
||
tableName | string | |
primaryKeyField | string | |
Результат |
public OpenConnection ( ) : |
||
Результат |
public Query ( |
||
command | ||
Результат | IEnumerable |
public Scalar ( |
||
command | ||
Результат | object |