Table of Contents

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

table Table

The 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

table Table

The table to delete rows from.

whereClause Filter

The 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

table Table

The table to delete rows from.

filterItem IFilterItem

The 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

table Table

The table to delete rows from.

filterItems IEnumerable<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.