UpdateExpression Constructor

Definition

Creates a new instance of the UpdateExpression class.

public UpdateExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpression table, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnValueSetter> columnValueSetters);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnValueSetter> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression
Public Sub New (table As TableExpression, selectExpression As SelectExpression, columnValueSetters As IReadOnlyList(Of ColumnValueSetter))

Parameters

table
TableExpression

A table on which the update operation is being applied.

selectExpression
SelectExpression

A select expression which is used to determine which rows to update and to get data from additional tables.

columnValueSetters
IReadOnlyList<ColumnValueSetter>

A list of ColumnValueSetter which specifies columns and their corresponding values to update.

Applies to