RelationalSqlGenerationHelper.EscapeIdentifier 方法

定义

重载

EscapeIdentifier(String)

生成标识符的转义 SQL 表示形式, (列名、表名等 ) 。

EscapeIdentifier(StringBuilder, String)

将标识符的转义 SQL 表示形式写入 (列名、表名等 ) 。

EscapeIdentifier(String)

Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs

生成标识符的转义 SQL 表示形式, (列名、表名等 ) 。

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

参数

identifier
String

要转义的标识符。

返回

生成的字符串。

实现

适用于

EscapeIdentifier(StringBuilder, String)

Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs
Source:
RelationalSqlGenerationHelper.cs

将标识符的转义 SQL 表示形式写入 (列名、表名等 ) 。

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)

参数

builder
StringBuilder

StringBuilder 向其写入生成的字符串的 。

identifier
String

要转义的标识符。

实现

适用于