Partilhar via


UpdateSqlGenerator.AppendSelectAffectedCountCommand Método

Definição

Acrescenta um comando SQL para selecionar o número de linhas afetadas.

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCountCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, int commandPosition);
protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCountCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, int commandPosition);
abstract member AppendSelectAffectedCountCommand : System.Text.StringBuilder * string * string * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendSelectAffectedCountCommand : System.Text.StringBuilder * string * string * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendSelectAffectedCountCommand (commandStringBuilder As StringBuilder, name As String, schema As String, commandPosition As Integer) As ResultSetMapping

Parâmetros

commandStringBuilder
StringBuilder

O construtor ao qual o SQL deve ser acrescentado.

name
String

O nome da tabela.

schema
String

O esquema da tabela ou null para usar o esquema padrão.

commandPosition
Int32

O ordinal do comando para o qual as linhas o afetaram sendo retornado.

Retornos

O ResultSetMapping para este comando.

Aplica-se a