Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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.
|
protected AppendSearchText ( string searchText ) : void | ||
searchText | string | The search text to append. |
return | void |
protected Contains ( String column, String value, bool ignoreCase ) : String | ||
column | String | |
value | String | |
ignoreCase | bool | |
return | String |
protected EndsWith ( String column, String value, bool ignoreCase ) : String | ||
column | String | |
value | String | |
ignoreCase | bool | |
return | String |
protected Equals ( String column, String value, bool ignoreCase ) : String | ||
column | String | |
value | String | |
ignoreCase | bool | |
return | String |
protected Like ( String column, String value, bool ignoreCase ) : String | ||
column | String | |
value | String | |
ignoreCase | bool | |
return | String |
public Parse ( String value ) : String | ||
value | String | The search text. |
return | String |
public SqlExpressionParser ( String propertyName ) : System | ||
propertyName | String | |
return | System |
public SqlExpressionParser ( String propertyName, SqlComparisonType comparisonType ) : System | ||
propertyName | String | |
comparisonType | SqlComparisonType | |
return | System |
public SqlExpressionParser ( String propertyName, SqlComparisonType comparisonType, bool ignoreCase ) : System | ||
propertyName | String | |
comparisonType | SqlComparisonType | |
ignoreCase | bool | |
return | System |
public SqlExpressionParser ( String propertyName, bool ignoreCase ) : System | ||
propertyName | String | |
ignoreCase | bool | |
return | System |
protected StartsWith ( String column, String value, bool ignoreCase ) : String | ||
column | String | |
value | String | |
ignoreCase | bool | |
return | String |
protected WrapWithSQL ( String propertyName, String value, bool ignoreCase ) : String | ||
propertyName | String | |
value | String | |
ignoreCase | bool | |
return | String |