ISqlGenerationHelper.EscapeIdentifier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EscapeIdentifier(String) |
Obsolete.
Generates the escaped SQL representation of an identifier (column name, table name, etc.). |
EscapeIdentifier(StringBuilder, String) |
Obsolete.
Writes the escaped SQL representation of an identifier (column name, table name, etc.). |
EscapeIdentifier(String)
Caution
Use DelimitIdentifier() instead.
Generates the escaped SQL representation of an identifier (column name, table name, etc.).
public string EscapeIdentifier (string identifier);
[System.Obsolete("Use DelimitIdentifier() instead.")]
public string EscapeIdentifier (string identifier);
abstract member EscapeIdentifier : string -> string
[<System.Obsolete("Use DelimitIdentifier() instead.")>]
abstract member EscapeIdentifier : string -> string
Public Function EscapeIdentifier (identifier As String) As String
Parameters
- identifier
- String
The identifier to be escaped.
Returns
The generated string.
- Attributes
Applies to
EscapeIdentifier(StringBuilder, String)
Caution
Use DelimitIdentifier() instead.
Writes the escaped SQL representation of an identifier (column name, table name, etc.).
public void EscapeIdentifier (System.Text.StringBuilder builder, string identifier);
[System.Obsolete("Use DelimitIdentifier() instead.")]
public void EscapeIdentifier (System.Text.StringBuilder builder, string identifier);
abstract member EscapeIdentifier : System.Text.StringBuilder * string -> unit
[<System.Obsolete("Use DelimitIdentifier() instead.")>]
abstract member EscapeIdentifier : System.Text.StringBuilder * string -> unit
Public Sub EscapeIdentifier (builder As StringBuilder, identifier As String)
Parameters
- builder
- StringBuilder
The StringBuilder to write generated string to.
- identifier
- String
The identifier to be escaped.
- Attributes
Applies to
Entity Framework