Freigeben über


UpdateAndSelectSqlGenerator.AppendSelectAffectedCommand Methode

Definition

Fügt einen SQL-Befehl zum Auswählen betroffener Daten an.

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> readOperations, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> conditionOperations, int commandPosition);
abstract member AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendSelectAffectedCommand (commandStringBuilder As StringBuilder, name As String, schema As String, readOperations As IReadOnlyList(Of IColumnModification), conditionOperations As IReadOnlyList(Of IColumnModification), commandPosition As Integer) As ResultSetMapping

Parameter

commandStringBuilder
StringBuilder

Der Generator, an den sql angefügt werden soll.

name
String

Der Name der Tabelle.

schema
String

Das Tabellenschema oder null das Standardschema.

readOperations
IReadOnlyList<IColumnModification>

Die Vorgänge, die die zu lesenden Daten darstellen.

conditionOperations
IReadOnlyList<IColumnModification>

Die Vorgänge, die zum Generieren der WHERE Klausel für die Auswahl verwendet werden.

commandPosition
Int32

Die Ordnungszahl des Befehls, für den Zeilen darauf wirkten, dass er zurückgegeben wird.

Gibt zurück

Der ResultSetMapping für diesen Befehl.

Gilt für: