C# 클래스 MicroLite.Characters.SqlCharacters

상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: TrevorPilley/MicroLite 1 사용 예제들

공개 메소드들

메소드 설명
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