Freigeben über


UpdateSqlGenerator.AppendDeleteReturningOperation Methode

Definition

Fügt SQL zum Löschen einer Zeile an die zu erstellenden Befehle über eine DELETE an, die eine RETURNING-Klausel für die Parallelitätsprüfung enthält.

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteReturningOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendDeleteReturningOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendDeleteReturningOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendDeleteReturningOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer, ByRef requiresTransaction As Boolean) As ResultSetMapping

Parameter

commandStringBuilder
StringBuilder

Der Generator, an den die SQL angefügt werden soll.

command
IReadOnlyModificationCommand

Der Befehl, der den Löschvorgang darstellt.

commandPosition
Int32

Die Ordnungszahl dieses Befehls im Batch.

requiresTransaction
Boolean

Gibt zurück, ob die angefügte SQL-Instanz in einer Transaktion ausgeführt werden muss, um ordnungsgemäß zu funktionieren.

Gibt zurück

Die ResultSetMapping für den Befehl.

Gilt für: