UpdateSqlGenerator.AppendReturningClause 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 clause used to return generated values from an INSERT or UPDATE statement.
protected virtual void AppendReturningClause (System.Text.StringBuilder commandStringBuilder, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> operations, string? additionalValues = default);
abstract member AppendReturningClause : System.Text.StringBuilder * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * string -> unit
override this.AppendReturningClause : System.Text.StringBuilder * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * string -> unit
Protected Overridable Sub AppendReturningClause (commandStringBuilder As StringBuilder, operations As IReadOnlyList(Of IColumnModification), Optional additionalValues As String = Nothing)
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- operations
- IReadOnlyList<IColumnModification>
The operations for column values to be read back.
- additionalValues
- String
Additional values to be read back.
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
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