Share via


UpdateAndSelectSqlGenerator.AppendSelectAffectedCountCommand Method

Definition

Appends a SQL command for selecting the number of rows affected.

protected abstract 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
Protected MustOverride Function AppendSelectAffectedCountCommand (commandStringBuilder As StringBuilder, name As String, schema As String, commandPosition As Integer) As ResultSetMapping

Parameters

commandStringBuilder
StringBuilder

The builder to which the SQL should be appended.

name
String

The name of the table.

schema
String

The table schema, or null to use the default schema.

commandPosition
Int32

The ordinal of the command for which rows affected it being returned.

Returns

The ResultSetMapping for this command.

Applies to