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
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