Interface IUpdateWhereBuilder
Builds an Update expression.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Update
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IUpdateWhereBuilder
Methods
View SourceAllRows()
Specifies that the update operation should affect all rows in the target table.
Declaration
IExecutableBuilder AllRows()
Returns
| Type | Description |
|---|---|
| IExecutableBuilder | An IExecutableBuilder that can be used to execute the update operation. |
Where(object)
Specifies the data to update for the selected rows.
Declaration
IExecutableBuilder Where(object dataAsAnonymousType)
Parameters
| Type | Name | Description |
|---|---|---|
| object | dataAsAnonymousType | An anonymous type object containing the column values to update. |
Returns
| Type | Description |
|---|---|
| IExecutableBuilder | An IExecutableBuilder that can be used to execute the update operation. |