Constructor Delete
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
Delete(Table)
Creates a new DELETE statement for the specified table without a WHERE clause.
public Delete(Table table)
Parameters
tableTableThe table to delete rows from.
Remarks
WARNING: Without a WHERE clause, this will delete ALL rows from the table. Use AddWhereClause(Filter) to add filtering conditions.
Delete(Table, Filter)
Creates a new DELETE statement with a WHERE clause filter.
public Delete(Table table, Filter whereClause)
Parameters
tableTableThe table to delete rows from.
whereClauseFilterThe filter specifying which rows to delete.
Delete(Table, IFilterItem)
Creates a new DELETE statement with a single filter item.
public Delete(Table table, IFilterItem filterItem)
Parameters
tableTableThe table to delete rows from.
filterItemIFilterItemThe criterion specifying which rows to delete.
Remarks
Convenience constructor that automatically creates a Filter from the provided criterion.
Delete(Table, IEnumerable<IFilterItem>)
Creates a new DELETE statement with multiple filter items.
public Delete(Table table, IEnumerable<IFilterItem> filterItems)
Parameters
tableTableThe table to delete rows from.
filterItemsIEnumerable<IFilterItem>The collection of criteria and boolean operators specifying which rows to delete.
Remarks
Convenience constructor that automatically creates a Filter from the provided items.