UpdateAndSelectSqlGenerator.AppendSelectAffectedCountCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework