語言

ISqlGenerationHelper.GenerateLiteral 方法

定義

多載

名稱 Description
GenerateLiteral(Object, RelationalTypeMapping)

產生一個字面值的 SQL 表示。

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

寫入一個字面值的 SQL 表示。

GenerateLiteral(Object, RelationalTypeMapping)

產生一個字面值的 SQL 表示。

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

參數

value
Object

字面上的價值。

typeMapping
RelationalTypeMapping

一個可選的型別映射用於此值。

傳回

產生的字串。

適用於

GenerateLiteral(StringBuilder, Object, RelationalTypeMapping)

寫入一個字面值的 SQL 表示。

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)

參數

builder
StringBuilder

StringBuilder寫入產生的字串。

value
Object

字面上的價值。

typeMapping
RelationalTypeMapping

一個可選的型別映射用於此值。

適用於