Compartilhar via


IUpdateSqlGenerator.AppendStoredProcedureCall Método

Definição

Acrescenta o SQL para chamar um procedimento armazenado.

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

Parâmetros

commandStringBuilder
StringBuilder

O construtor ao qual o SQL deve ser acrescentado.

command
IReadOnlyModificationCommand

O comando que representa a chamada de procedimento armazenado.

commandPosition
Int32

O ordinal desse comando no lote.

requiresTransaction
Boolean

Retorna se o SQL acrescentado deve ser executado em uma transação para funcionar corretamente.

Retornos

O ResultSetMapping para o comando .

Aplica-se a