UpdateSqlGenerator.AppendUpdateOperation Method

Definition

Overloads

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Appends a SQL command for updating a row to the commands being built.

AppendUpdateOperation(StringBuilder, ModificationCommand, Int32)

Appends a SQL command for updating a row to the commands being built.

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Appends a SQL command for updating a row to the commands being built.

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

Appends a SQL command for updating a row to the commands being built.

C#
public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition);

Parameters

commandStringBuilder
StringBuilder

The builder to which the SQL should be appended.

command
IReadOnlyModificationCommand

The command that represents the delete operation.

commandPosition
Int32

The ordinal of this command in the batch.

Returns

The ResultSetMapping for the command.

Implements

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 6.0, 7.0, 8.0, 9.0

AppendUpdateOperation(StringBuilder, ModificationCommand, Int32)

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

Appends a SQL command for updating a row to the commands being built.

C#
public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.ModificationCommand command, int commandPosition);

Parameters

commandStringBuilder
StringBuilder

The builder to which the SQL should be appended.

command
ModificationCommand

The command that represents the delete operation.

commandPosition
Int32

The ordinal of this command in the batch.

Returns

The ResultSetMapping for the command.

Implements

Applies to

Entity Framework Core 5.0 och andra versioner
Produkt Versioner
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

Appends a SQL command for updating a row to the commands being built.

C#
public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);

Parameters

commandStringBuilder
StringBuilder

The builder to which the SQL should be appended.

command
IReadOnlyModificationCommand

The command that represents the delete operation.

commandPosition
Int32

The ordinal of this command in the batch.

requiresTransaction
Boolean

Returns whether the SQL appended must be executed in a transaction to work correctly.

Returns

The ResultSetMapping for the command.

Implements

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 7.0, 8.0, 9.0