Freigeben über


UpdateExpression Constructors

Definition

Overloads

UpdateExpression(TableExpression, SelectExpression, IReadOnlyList<ColumnValueSetter>)

Creates a new instance of the UpdateExpression class.

UpdateExpression(TableExpression, SelectExpression, IReadOnlyList<ColumnValueSetter>, ISet<String>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

UpdateExpression(TableExpression, SelectExpression, IReadOnlyList<ColumnValueSetter>)

Source:
UpdateExpression.cs
Source:
UpdateExpression.cs
Source:
UpdateExpression.cs

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

UpdateExpression(TableExpression, SelectExpression, IReadOnlyList<ColumnValueSetter>, ISet<String>)

Source:
UpdateExpression.cs

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public UpdateExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpression table, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.ColumnValueSetter> columnValueSetters, System.Collections.Generic.ISet<string> tags);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
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> * System.Collections.Generic.ISet<string> -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.UpdateExpression
Public Sub New (table As TableExpression, selectExpression As SelectExpression, columnValueSetters As IReadOnlyList(Of ColumnValueSetter), tags As ISet(Of String))

Parameters

selectExpression
SelectExpression
columnValueSetters
IReadOnlyList<ColumnValueSetter>
tags
ISet<String>
Attributes

Applies to