Compartilhar via


RelationalSqlGenerationHelper.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 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

O valor literal.

typeMapping
RelationalTypeMapping

Um mapeamento de tipo opcional usado para esse valor.

Retornos

A cadeia de caracteres gerada.

Implementações

Aplica-se a

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

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

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.

Implementações

Aplica-se a