UpdateSqlGenerator.AppendDeleteOperation 方法

定义

重载

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

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

AppendDeleteOperation(StringBuilder, ModificationCommand, Int32)

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

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

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

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

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

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

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

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

command
IReadOnlyModificationCommand

表示删除操作的命令。

commandPosition
Int32

批处理中此命令的序号。

返回

ResultSetMapping命令的 。

实现

适用于

AppendDeleteOperation(StringBuilder, ModificationCommand, Int32)

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

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

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

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

command
ModificationCommand

表示删除操作的命令。

commandPosition
Int32

批处理中此命令的序号。

返回

ResultSetMapping命令的 。

实现

适用于

AppendDeleteOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

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

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

public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendDeleteOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Overridable Function AppendDeleteOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer, ByRef requiresTransaction As Boolean) As ResultSetMapping

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

command
IReadOnlyModificationCommand

表示删除操作的命令。

commandPosition
Int32

批处理中此命令的序号。

requiresTransaction
Boolean

返回是否必须在事务中执行追加的 SQL 才能正常工作。

返回

ResultSetMapping命令的 。

实现

适用于