C# 클래스 Nettiers.AdventureWorks.Data.SqlExpressionParser

상속: ExpressionParserBase
파일 보기 프로젝트 열기: netTiers/netTiers

공개 메소드들

메소드 설명
Parse ( String value ) : String

Parses the specified value into separate search terms.

SqlExpressionParser ( String propertyName ) : System

Initializes a new instance of the SqlExpressionParser class.

SqlExpressionParser ( String propertyName, SqlComparisonType comparisonType ) : System

Initializes a new instance of the SqlExpressionParser class.

SqlExpressionParser ( String propertyName, SqlComparisonType comparisonType, bool ignoreCase ) : System

Initializes a new instance of the SqlExpressionParser class.

SqlExpressionParser ( String propertyName, bool ignoreCase ) : System

Initializes a new instance of the SqlExpressionParser class.

보호된 메소드들

메소드 설명
AppendAnd ( ) : void

Appends "AND" to the SQL statement.

AppendOr ( ) : void

Appends "OR" to the SQL statement.

AppendSearchText ( string searchText ) : void

Appends the specified search text to the SQL statement.

AppendSpace ( ) : void

Appends a space to the SQL statement.

CloseGrouping ( ) : void

Appends a right parentheses to the SQL statement.

Contains ( String column, String value, bool ignoreCase ) : String

Creates a SqlComparisonType.Contains expression.

EndsWith ( String column, String value, bool ignoreCase ) : String

Creates a SqlComparisonType.EndsWith expression.

Equals ( String column, String value, bool ignoreCase ) : String

Creates a SqlComparisonType.Equals expression.

Like ( String column, String value, bool ignoreCase ) : String

Creates a SqlComparisonType.Like expression.

OpenGrouping ( ) : void

Appends a left parentheses to the SQL statement.

StartsWith ( String column, String value, bool ignoreCase ) : String

Creates a SqlComparisonType.StartsWith expression.

WrapWithSQL ( String propertyName, String value, bool ignoreCase ) : String

Converts the search text into a valid search expression.

메소드 상세

AppendAnd() 보호된 메소드

Appends "AND" to the SQL statement.
protected AppendAnd ( ) : void
리턴 void

AppendOr() 보호된 메소드

Appends "OR" to the SQL statement.
protected AppendOr ( ) : void
리턴 void

AppendSearchText() 보호된 메소드

Appends the specified search text to the SQL statement.
protected AppendSearchText ( string searchText ) : void
searchText string The search text to append.
리턴 void

AppendSpace() 보호된 메소드

Appends a space to the SQL statement.
protected AppendSpace ( ) : void
리턴 void

CloseGrouping() 보호된 메소드

Appends a right parentheses to the SQL statement.
protected CloseGrouping ( ) : void
리턴 void

Contains() 보호된 메소드

Creates a SqlComparisonType.Contains expression.
protected Contains ( String column, String value, bool ignoreCase ) : String
column String
value String
ignoreCase bool
리턴 String

EndsWith() 보호된 메소드

Creates a SqlComparisonType.EndsWith expression.
protected EndsWith ( String column, String value, bool ignoreCase ) : String
column String
value String
ignoreCase bool
리턴 String

Equals() 보호된 메소드

Creates a SqlComparisonType.Equals expression.
protected Equals ( String column, String value, bool ignoreCase ) : String
column String
value String
ignoreCase bool
리턴 String

Like() 보호된 메소드

Creates a SqlComparisonType.Like expression.
protected Like ( String column, String value, bool ignoreCase ) : String
column String
value String
ignoreCase bool
리턴 String

OpenGrouping() 보호된 메소드

Appends a left parentheses to the SQL statement.
protected OpenGrouping ( ) : void
리턴 void

Parse() 공개 메소드

Parses the specified value into separate search terms.
public Parse ( String value ) : String
value String The search text.
리턴 String

SqlExpressionParser() 공개 메소드

Initializes a new instance of the SqlExpressionParser class.
public SqlExpressionParser ( String propertyName ) : System
propertyName String
리턴 System

SqlExpressionParser() 공개 메소드

Initializes a new instance of the SqlExpressionParser class.
public SqlExpressionParser ( String propertyName, SqlComparisonType comparisonType ) : System
propertyName String
comparisonType SqlComparisonType
리턴 System

SqlExpressionParser() 공개 메소드

Initializes a new instance of the SqlExpressionParser class.
public SqlExpressionParser ( String propertyName, SqlComparisonType comparisonType, bool ignoreCase ) : System
propertyName String
comparisonType SqlComparisonType
ignoreCase bool
리턴 System

SqlExpressionParser() 공개 메소드

Initializes a new instance of the SqlExpressionParser class.
public SqlExpressionParser ( String propertyName, bool ignoreCase ) : System
propertyName String
ignoreCase bool
리턴 System

StartsWith() 보호된 메소드

Creates a SqlComparisonType.StartsWith expression.
protected StartsWith ( String column, String value, bool ignoreCase ) : String
column String
value String
ignoreCase bool
리턴 String

WrapWithSQL() 보호된 메소드

Converts the search text into a valid search expression.
protected WrapWithSQL ( String propertyName, String value, bool ignoreCase ) : String
propertyName String
value String
ignoreCase bool
리턴 String