Partilhar via


UpdateAndSelectSqlGenerator.AppendSelectAffectedCommand Método

Definição

Acrescenta um comando SQL para selecionar os dados afetados.

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> readOperations, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> conditionOperations, int commandPosition);
abstract member AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendSelectAffectedCommand (commandStringBuilder As StringBuilder, name As String, schema As String, readOperations As IReadOnlyList(Of IColumnModification), conditionOperations As IReadOnlyList(Of IColumnModification), 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 de tabela ou null para usar o esquema padrão.

readOperations
IReadOnlyList<IColumnModification>

As operações que representam os dados a serem lidos.

conditionOperations
IReadOnlyList<IColumnModification>

As operações usadas para gerar a WHERE cláusula para a seleçã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