Freigeben über


UpdateSqlGenerator.AppendInsertOperation Methode

Definition

Überlädt

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Fügt einen SQL-Befehl zum Einfügen einer Zeile an die zu erstellenden Befehle an.

AppendInsertOperation(StringBuilder, ModificationCommand, Int32)

Fügt einen SQL-Befehl zum Einfügen einer Zeile an die zu erstellenden Befehle an.

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Fügt einen SQL-Befehl zum Einfügen einer Zeile an die zu erstellenden Befehle an.

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Fügt einen SQL-Befehl zum Einfügen einer Zeile an die zu erstellenden Befehle an.

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

Gibt zurück

Die ResultSetMapping für den Befehl.

Implementiert

Gilt für:

AppendInsertOperation(StringBuilder, ModificationCommand, Int32)

Fügt einen SQL-Befehl zum Einfügen einer Zeile an die zu erstellenden Befehle an.

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

Parameter

commandStringBuilder
StringBuilder

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

command
ModificationCommand

Der Befehl, der den Löschvorgang darstellt.

commandPosition
Int32

Die Ordnungszahl dieses Befehls im Batch.

Gibt zurück

Die ResultSetMapping für den Befehl.

Implementiert

Gilt für:

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Fügt einen SQL-Befehl zum Einfügen einer Zeile an die zu erstellenden Befehle an.

public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendInsertOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendInsertOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendInsertOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Overridable Function AppendInsertOperation (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.

Implementiert

Gilt für: