UpdateSqlGenerator.AppendDeleteCommand 方法

定义

重载

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

将用于删除行的 SQL 命令追加到正在生成的命令中。

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

将用于删除行的 SQL 命令追加到正在生成的命令中。

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

将用于删除行的 SQL 命令追加到正在生成的命令中。

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

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

将用于删除行的 SQL 命令追加到正在生成的命令中。

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))

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

name
String

表的名称。

schema
String

表架构,或使用 null 默认架构。

conditionOperations
IReadOnlyList<ColumnModification>

用于为删除生成 WHERE 子句的操作。

适用于

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

Source:
UpdateSqlGenerator.cs

将用于删除行的 SQL 命令追加到正在生成的命令中。

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))

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

name
String

表的名称。

schema
String

表架构,或使用 null 默认架构。

conditionOperations
IReadOnlyList<IColumnModification>

用于为删除生成 WHERE 子句的操作。

适用于

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

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

将用于删除行的 SQL 命令追加到正在生成的命令中。

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)

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

name
String

表的名称。

schema
String

表架构,或使用 null 默认架构。

readOperations
IReadOnlyList<IColumnModification>

要读回的列值的操作。

conditionOperations
IReadOnlyList<IColumnModification>

用于为删除生成 WHERE 子句的操作。

appendReturningOneClause
Boolean

是否追加要读回的附加常量 1。

适用于