Méthode | Description | |
---|---|---|
CreateDbCommand ( this unitOfWork ) : |
Create a Dbcommand The async methods in ADO.NET is only exposed in the ADO.NET base classes (i.e. |
|
ExecuteNonQuery ( this unitOfWork, string sql, object parameters = null ) : void |
Execute a query directly Do note that the query must be using table column names and not class properties. No mapping is being made.
|
|
ExecuteScalar ( this unitOfWork, string sql, object parameters = null ) : object |
Execute a scalar query. Do note that the query must be using table column names and not class properties. No mapping is being made.
|
public static CreateDbCommand ( this unitOfWork ) : |
||
unitOfWork | this | |
Résultat |
public static ExecuteNonQuery ( this unitOfWork, string sql, object parameters = null ) : void | ||
unitOfWork | this | Unit of work to execute query in |
sql | string | sql query |
parameters | object | parameters used in the query |
Résultat | void |
public static ExecuteScalar ( this unitOfWork, string sql, object parameters = null ) : object | ||
unitOfWork | this | Unit of work to execute query in |
sql | string | sql query |
parameters | object | parameters used in the query |
Résultat | object |