Share via


RelationalSqlGenerationHelper.EscapeIdentifier Method

Definition

Overloads

EscapeIdentifier(String)

Generates the escaped SQL representation of an identifier (column name, table name, etc.).

EscapeIdentifier(StringBuilder, String)

Writes the escaped SQL representation of an identifier (column name, table name, etc.).

EscapeIdentifier(String)

Generates the escaped SQL representation of an identifier (column name, table name, etc.).

public virtual string EscapeIdentifier (string identifier);
abstract member EscapeIdentifier : string -> string
override this.EscapeIdentifier : string -> string
Public Overridable Function EscapeIdentifier (identifier As String) As String

Parameters

identifier
String

The identifier to be escaped.

Returns

The generated string.

Implements

Applies to

EscapeIdentifier(StringBuilder, String)

Writes the escaped SQL representation of an identifier (column name, table name, etc.).

public virtual void EscapeIdentifier (System.Text.StringBuilder builder, string identifier);
abstract member EscapeIdentifier : System.Text.StringBuilder * string -> unit
override this.EscapeIdentifier : System.Text.StringBuilder * string -> unit
Public Overridable 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.

Implements

Applies to