語言

IUpdateSqlGenerator.AppendStoredProcedureCall 方法

定義

附加 SQL 以呼叫儲存程序。

public 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
Public 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 為了指揮。

適用於