public int Delete(string tableName, SimpleExpression criteria, IAdapterTransaction transaction) { ICommandBuilder commandBuilder = new DeleteHelper(_schema).GetDeleteCommand(tableName, criteria); return Execute(commandBuilder, transaction); }
/// <summary> /// Deletes from the specified table. /// </summary> /// <param name="tableName">Name of the table.</param> /// <param name="criteria">The expression to use as criteria for the delete operation.</param> /// <returns>The number of records which were deleted.</returns> public override int Delete(string tableName, SimpleExpression criteria) { ICommandBuilder commandBuilder = new DeleteHelper(_schema).GetDeleteCommand(tableName, criteria); return(Execute(commandBuilder)); }
/// <summary> /// Deletes from the specified table. /// </summary> /// <param name="tableName">Name of the table.</param> /// <param name="criteria">The expression to use as criteria for the delete operation.</param> /// <returns>The number of records which were deleted.</returns> public int Delete(string tableName, SimpleExpression criteria) { var commandBuilder = new DeleteHelper(_schema).GetDeleteCommand(tableName, criteria); return Execute(commandBuilder); }
public int Delete(string tableName, SimpleExpression criteria, IAdapterTransaction transaction) { var commandBuilder = new DeleteHelper(_schema).GetDeleteCommand(tableName, criteria); return(Execute(commandBuilder, transaction)); }