Freigeben über


UpdateSqlGenerator.AppendDeleteCommand Methode

Definition

Überlädt

AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>)

Fügt einen SQL-Befehl zum Löschen einer Zeile an die zu erstellenden Befehle an.

AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>)

Fügt einen SQL-Befehl zum Löschen einer Zeile an die zu erstellenden Befehle an.

AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, Boolean)

Fügt einen SQL-Befehl zum Löschen einer Zeile an die zu erstellenden Befehle an.

AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>)

Fügt einen SQL-Befehl zum Löschen einer Zeile an die zu erstellenden Befehle an.

protected virtual void AppendDeleteCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> conditionOperations);
abstract member AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
override this.AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
Protected Overridable Sub AppendDeleteCommand (commandStringBuilder As StringBuilder, name As String, schema As String, conditionOperations As IReadOnlyList(Of ColumnModification))

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.

conditionOperations
IReadOnlyList<ColumnModification>

Die Vorgänge, die zum Generieren der WHERE Klausel für das Löschen verwendet werden.

Gilt für:

AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>)

Fügt einen SQL-Befehl zum Löschen einer Zeile an die zu erstellenden Befehle an.

protected virtual void AppendDeleteCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> conditionOperations);
abstract member AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
override this.AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
Protected Overridable Sub AppendDeleteCommand (commandStringBuilder As StringBuilder, name As String, schema As String, conditionOperations As IReadOnlyList(Of IColumnModification))

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.

conditionOperations
IReadOnlyList<IColumnModification>

Die Vorgänge, die zum Generieren der WHERE Klausel für das Löschen verwendet werden.

Gilt für:

AppendDeleteCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, Boolean)

Fügt einen SQL-Befehl zum Löschen einer Zeile an die zu erstellenden Befehle an.

protected virtual void AppendDeleteCommand (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, bool appendReturningOneClause = false);
abstract member AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * bool -> unit
override this.AppendDeleteCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * bool -> unit
Protected Overridable Sub AppendDeleteCommand (commandStringBuilder As StringBuilder, name As String, schema As String, readOperations As IReadOnlyList(Of IColumnModification), conditionOperations As IReadOnlyList(Of IColumnModification), Optional appendReturningOneClause As Boolean = false)

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 für Spaltenwerte, die zurückgelesen werden sollen.

conditionOperations
IReadOnlyList<IColumnModification>

Die Vorgänge, die zum Generieren der WHERE Klausel für das Löschen verwendet werden.

appendReturningOneClause
Boolean

Gibt an, ob eine zusätzliche Konstante von 1 angefügt werden soll, um zurückgelesen zu werden.

Gilt für: