Exemplo n.º 1
0
 /// <summary>
 /// Creates a new database command with the specified query and transaction.
 /// </summary>
 /// <param name="query">The database query.</param>
 /// <param name="transaction">The database transaction.</param>
 /// <returns>The database command.</returns>
 public abstract DbCommand CreateCommand(DbQuerySql query, DbTransaction transaction);
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new database command with the specified query and transaction.
 /// </summary>
 /// <param name="query">The database query.</param>
 /// <param name="transaction">The database transaction.</param>
 /// <returns>The database command.</returns>
 public override DbCommand CreateCommand(DbQuerySql query, DbTransaction transaction)
 {
     return new DbCommandSql(this.connection, query, transaction as DbTransactionSql);
 }