ISqlGenerationHelper.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 string GenerateLiteral (object value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
abstract member GenerateLiteral : obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> string
Public 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.

Se aplica a

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

Escribe la representación SQL de un valor literal.

public 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
Public 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.

Se aplica a