IUpdateSqlGenerator.AppendUpdateOperation 方法

定义

重载

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

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

AppendUpdateOperation(StringBuilder, ModificationCommand, Int32)

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

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

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

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Source:
IUpdateSqlGenerator.cs
Source:
IUpdateSqlGenerator.cs
Source:
IUpdateSqlGenerator.cs

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

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

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

command
IReadOnlyModificationCommand

表示删除操作的命令。

commandPosition
Int32

批处理中此命令的序号。

返回

ResultSetMapping命令的 。

适用于

AppendUpdateOperation(StringBuilder, ModificationCommand, Int32)

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

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

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

command
ModificationCommand

表示删除操作的命令。

commandPosition
Int32

批处理中此命令的序号。

返回

ResultSetMapping命令的 。

适用于

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Source:
IUpdateSqlGenerator.cs
Source:
IUpdateSqlGenerator.cs
Source:
IUpdateSqlGenerator.cs

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

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendUpdateOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendUpdateOperation (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命令的 。

适用于