C# Класс MicroLite.Characters.SqlCharacters

Наследование: System.MarshalByRefObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
EscapeSql ( string sql ) : string

Escapes the specified SQL using the left and right delimiters.

GetParameterName ( int position ) : string

Gets the name of the parameter for the specified position.

IsEscaped ( string sql ) : bool

Determines whether the specified SQL is escaped.

Защищенные методы

Метод Описание
SqlCharacters ( ) : System

Initialises a new instance of the SqlCharacters class.

Описание методов

EscapeSql() публичный Метод

Escapes the specified SQL using the left and right delimiters.
Thrown if sql is null.
public EscapeSql ( string sql ) : string
sql string The SQL to be escaped.
Результат string

GetParameterName() публичный Метод

Gets the name of the parameter for the specified position.
public GetParameterName ( int position ) : string
position int The parameter position.
Результат string

IsEscaped() публичный Метод

Determines whether the specified SQL is escaped.
public IsEscaped ( string sql ) : bool
sql string The SQL to check.
Результат bool

SqlCharacters() защищенный Метод

Initialises a new instance of the SqlCharacters class.
protected SqlCharacters ( ) : System
Результат System