Compartilhar via


ISqlGenerationHelper.GenerateLiteral Método

Definição

Sobrecargas

GenerateLiteral(Object, RelationalTypeMapping)

Gera a representação SQL de um valor literal.

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

Grava a representação SQL de um valor literal.

GenerateLiteral(Object, RelationalTypeMapping)

Gera a representação SQL de um 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

O valor literal.

typeMapping
RelationalTypeMapping

Um mapeamento de tipo opcional usado para esse valor.

Retornos

A cadeia de caracteres gerada.

Aplica-se a

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

Grava a representação SQL de um 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

O StringBuilder no qual gravar a cadeia de caracteres gerada.

value
Object

O valor literal.

typeMapping
RelationalTypeMapping

Um mapeamento de tipo opcional usado para esse valor.

Aplica-se a