UpdateExpression Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework