UpdateSqlGenerator.AppendSelectAffectedCountCommand Method
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 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
- 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.
The ResultSetMapping for this command.
Produkt | Versioner |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: