Share via


UpdateSqlGenerator.AppendSqlLiteral Method

Definition

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