共用方式為


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命令的 。

實作

適用於