IUpdateSqlGenerator.AppendDeleteOperation Method

Definition

Overloads

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

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

AppendDeleteOperation(StringBuilder, ModificationCommand, Int32)

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

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

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

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

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

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition);
public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition);
abstract member AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
abstract member AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendDeleteOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer) As ResultSetMapping
Public Overridable Function AppendDeleteOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer) As ResultSetMapping

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.

Applies to

AppendDeleteOperation(StringBuilder, ModificationCommand, Int32)

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

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.ModificationCommand command, int commandPosition);
abstract member AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.ModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendDeleteOperation (commandStringBuilder As StringBuilder, command As ModificationCommand, commandPosition As Integer) As ResultSetMapping

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.

Applies to

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

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

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendDeleteOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer, ByRef requiresTransaction As Boolean) As ResultSetMapping

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.

Applies to