UpdateSqlGenerator.AppendStoredProcedureCall 方法

定义

追加 SQL 以调用存储过程。

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

实现

适用于