Compartilhar via


UpdateSqlGenerator.AppendStoredProcedureCall Método

Definição

Acrescenta o SQL para chamar um procedimento armazenado.

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

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 .

Implementações

Aplica-se a