C# Class PetShop.Data.ExpressionParserBase

Datei anzeigen Open project: netTiers/netTiers

Protected Methods

Method Description
AppendAnd ( ) : void

Appends an AND expression.

AppendOr ( ) : void

Appends an OR expression.

AppendSearchText ( String searchText ) : void

Appends the specified search text to the expression.

AppendSpace ( ) : void

Appends an expression separator.

CloseGrouping ( ) : void

Appends a group closed expression.

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

Initializes a new instance of the ExpressionParserBase class.

OpenGrouping ( ) : void

Appends a group opened expression.

ParseCore ( String searchText ) : void

Appends the specified search text to the current expression.

Private Methods

Method Description
IsKeyWord ( String word ) : bool

Determines whether the specified word is a reserved keyword.

ParseQuotes ( String searchText, IList quotedValues ) : String

Parses quoted search terms.

Method Details

AppendAnd() protected abstract method

Appends an AND expression.
protected abstract AppendAnd ( ) : void
return void

AppendOr() protected abstract method

Appends an OR expression.
protected abstract AppendOr ( ) : void
return void

AppendSearchText() protected abstract method

Appends the specified search text to the expression.
protected abstract AppendSearchText ( String searchText ) : void
searchText String The search text to append.
return void

AppendSpace() protected abstract method

Appends an expression separator.
protected abstract AppendSpace ( ) : void
return void

CloseGrouping() protected abstract method

Appends a group closed expression.
protected abstract CloseGrouping ( ) : void
return void

ExpressionParserBase() protected method

Initializes a new instance of the ExpressionParserBase class.
protected ExpressionParserBase ( String propertyName, SqlComparisonType comparisonType, bool ignoreCase ) : System
propertyName String
comparisonType SqlComparisonType
ignoreCase bool
return System

OpenGrouping() protected abstract method

Appends a group opened expression.
protected abstract OpenGrouping ( ) : void
return void

ParseCore() protected method

Appends the specified search text to the current expression.
protected ParseCore ( String searchText ) : void
searchText String The search text to append.
return void