Udostępnij za pośrednictwem


StringTypeMapping.EscapeSqlLiteral(String) Metoda

Definicja

Generuje unikniętą reprezentację wartości literału SQL.

protected virtual string EscapeSqlLiteral (string literal);
abstract member EscapeSqlLiteral : string -> string
override this.EscapeSqlLiteral : string -> string
Protected Overridable Function EscapeSqlLiteral (literal As String) As String

Parametry

literal
String

Wartość, która ma zostać uniknięta.

Zwraca

Wygenerowany ciąg.

Dotyczy