Compartir a través de


RelationalSqlGenerationHelper.GenerateLiteral Método

Definición

Sobrecargas

GenerateLiteral(Object, RelationalTypeMapping)

Genera la representación SQL de un valor literal.

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

Escribe la representación SQL de un valor literal.

GenerateLiteral(Object, RelationalTypeMapping)

Genera la representación SQL de un valor literal.

public virtual string GenerateLiteral (object value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
abstract member GenerateLiteral : obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> string
override this.GenerateLiteral : obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> string
Public Overridable Function GenerateLiteral (value As Object, Optional typeMapping As RelationalTypeMapping = Nothing) As String

Parámetros

value
Object

El valor literal.

typeMapping
RelationalTypeMapping

Asignación de tipos opcional que se usa para este valor.

Devoluciones

Cadena generada.

Implementaciones

Se aplica a

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

Escribe la representación SQL de un valor literal.

public virtual void GenerateLiteral (System.Text.StringBuilder builder, object value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
abstract member GenerateLiteral : System.Text.StringBuilder * obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> unit
override this.GenerateLiteral : System.Text.StringBuilder * obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> unit
Public Overridable Sub GenerateLiteral (builder As StringBuilder, value As Object, Optional typeMapping As RelationalTypeMapping = Nothing)

Parámetros

builder
StringBuilder

objeto en el StringBuilder que se va a escribir la cadena generada.

value
Object

El valor literal.

typeMapping
RelationalTypeMapping

Asignación de tipos opcional que se usa para este valor.

Implementaciones

Se aplica a