C# Class Nettiers.AdventureWorks.Data.ParameterizedSqlExpressionParser

Inheritance: SqlExpressionParser
Mostrar archivo Open project: netTiers/netTiers

Public Methods

Method Description
ParameterizedSqlExpressionParser ( String propertyName ) : System

Initializes a new instance of the ParameterizedSqlExpressionParser class.

ParameterizedSqlExpressionParser ( String propertyName, SqlComparisonType comparisonType ) : System

Initializes a new instance of the ParameterizedSqlExpressionParser class.

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

Initializes a new instance of the ParameterizedSqlExpressionParser class.

ParameterizedSqlExpressionParser ( String propertyName, bool ignoreCase ) : System

Initializes a new instance of the ParameterizedSqlExpressionParser class.

Protected Methods

Method Description
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.

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

Creates a SqlComparisonType.StartsWith expression.

Method Details

Contains() protected method

Creates a SqlComparisonType.Contains expression.
protected Contains ( string column, string value, bool ignoreCase ) : string
column string
value string
ignoreCase bool
return string

EndsWith() protected method

Creates a SqlComparisonType.EndsWith expression.
protected EndsWith ( string column, string value, bool ignoreCase ) : string
column string
value string
ignoreCase bool
return string

Equals() protected method

Creates a SqlComparisonType.Equals expression.
protected Equals ( string column, string value, bool ignoreCase ) : string
column string
value string
ignoreCase bool
return string

Like() protected method

Creates a SqlComparisonType.Like expression.
protected Like ( string column, string value, bool ignoreCase ) : string
column string
value string
ignoreCase bool
return string

ParameterizedSqlExpressionParser() public method

Initializes a new instance of the ParameterizedSqlExpressionParser class.
public ParameterizedSqlExpressionParser ( String propertyName ) : System
propertyName String
return System

ParameterizedSqlExpressionParser() public method

Initializes a new instance of the ParameterizedSqlExpressionParser class.
public ParameterizedSqlExpressionParser ( String propertyName, SqlComparisonType comparisonType ) : System
propertyName String
comparisonType SqlComparisonType
return System

ParameterizedSqlExpressionParser() public method

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

ParameterizedSqlExpressionParser() public method

Initializes a new instance of the ParameterizedSqlExpressionParser class.
public ParameterizedSqlExpressionParser ( String propertyName, bool ignoreCase ) : System
propertyName String
ignoreCase bool
return System

StartsWith() protected method

Creates a SqlComparisonType.StartsWith expression.
protected StartsWith ( string column, string value, bool ignoreCase ) : string
column string
value string
ignoreCase bool
return string