UpdateAndSelectSqlGenerator.AppendSelectAffectedCommand 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 affected data.
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
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.
- readOperations
- IReadOnlyList<IColumnModification>
The operations representing the data to be read.
- conditionOperations
- IReadOnlyList<IColumnModification>
The operations used to generate the WHERE
clause for the select.
- commandPosition
- Int32
The ordinal of the command for which rows affected it being returned.
Returns
The ResultSetMapping for this command.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for