UpdateSqlGenerator.AppendSqlLiteral 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 the literal value for modification
to the command being built by
commandStringBuilder
.
protected static void AppendSqlLiteral (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IColumnModification modification, string? tableName, string? schema);
static member AppendSqlLiteral : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IColumnModification * string * string -> unit
Protected Shared Sub AppendSqlLiteral (commandStringBuilder As StringBuilder, modification As IColumnModification, tableName As String, schema As String)
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL fragment should be appended.
- modification
- IColumnModification
The column modification whose literal should get appended.
- tableName
- String
The table name of the column, used when an exception is thrown.
- schema
- String
The schema of the column, used when an exception is thrown.
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