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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för