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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework