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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for