UpdateAndSelectSqlGenerator.AppendSelectAffectedCommand Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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 die SQL angefügt werden soll.
- name
- String
Der Name der Tabelle.
- schema
- String
Das Tabellenschema oder null die Verwendung des Standardschemas.
- 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 die Zeilen davon betroffen sind, die zurückgegeben werden.
Gibt zurück
Der ResultSetMapping für diesen Befehl.