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
tableTableThe 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
tableTableThe table to update rows in.
whereClauseFilterThe 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
tableTableThe table to update rows in.
filterItemsIEnumerable<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
tableTableThe table to update rows in.
filterItemIFilterItemThe criterion specifying which rows to update.
Remarks
Convenience constructor that automatically creates a Filter from the provided criterion.