Table of Contents

Constructor Update

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

Update(Table)

Creates a new UPDATE statement for the specified table without a WHERE clause.

public Update(Table table)

Parameters

table Table

The table to update rows in.

Remarks

WARNING: Without a WHERE clause, this will update ALL rows in the table. Use AddWhereClause(Filter) to add filtering conditions.

Update(Table, Filter)

Creates a new UPDATE statement with a WHERE clause filter.

public Update(Table table, Filter whereClause)

Parameters

table Table

The table to update rows in.

whereClause Filter

The filter specifying which rows to update.

Update(Table, IEnumerable<IFilterItem>)

Creates a new UPDATE statement with multiple filter items.

public Update(Table table, IEnumerable<IFilterItem> filterItems)

Parameters

table Table

The table to update rows in.

filterItems IEnumerable<IFilterItem>

The collection of criteria and boolean operators specifying which rows to update.

Remarks

Convenience constructor that automatically creates a Filter from the provided items.

Update(Table, IFilterItem)

Creates a new UPDATE statement with a single filter item.

public Update(Table table, IFilterItem filterItem)

Parameters

table Table

The table to update rows in.

filterItem IFilterItem

The criterion specifying which rows to update.

Remarks

Convenience constructor that automatically creates a Filter from the provided criterion.