C# Class Habanero.Faces.Base.DataViewFilterClause

A super-class for filter clauses that filter which data to display in a DataView, according to some criteria
Inheritance: IFilterClause
Afficher le fichier Open project: Chillisoft/habanero.faces

Protected Properties

Свойство Type Description
_clauseOperator FilterClauseOperator
_filterColumn string
_filterValue object

Méthodes publiques

Méthode Description
GetFilterClauseString ( ) : string

Returns the full filter clause as a string

GetFilterClauseString ( string stringLikeDelimiter, string dateTimeDelimiter ) : string

Returns the filter clause as a string. The filter clause is a clause used for filtering a ADO.Net DataView

Méthodes protégées

Méthode Description
CreateValueClause ( string stringLikeDelimiter, string dateTimeDelimiter ) : string

Returns the value part of the clause

DataViewFilterClause ( string filterColumn, FilterClauseOperator clauseOperator, object filterValue ) : System.Data

Constructor to create a new filter clause

Private Methods

Méthode Description
CreateColumnClause ( ) : string

Returns the column part of the clause. If the column contains any spaces or dashes, it is surrounded by square brackets.

CreateOperatorClause ( ) : string

Returns the operator in the clause as a string

Method Details

CreateValueClause() protected abstract méthode

Returns the value part of the clause
protected abstract CreateValueClause ( string stringLikeDelimiter, string dateTimeDelimiter ) : string
stringLikeDelimiter string
dateTimeDelimiter string
Résultat string

DataViewFilterClause() protected méthode

Constructor to create a new filter clause
protected DataViewFilterClause ( string filterColumn, FilterClauseOperator clauseOperator, object filterValue ) : System.Data
filterColumn string The column of data on which to do the /// filtering
clauseOperator FilterClauseOperator The clause operator
filterValue object The filter value to compare to
Résultat System.Data

GetFilterClauseString() public méthode

Returns the full filter clause as a string
public GetFilterClauseString ( ) : string
Résultat string

GetFilterClauseString() public méthode

Returns the filter clause as a string. The filter clause is a clause used for filtering a ADO.Net DataView
public GetFilterClauseString ( string stringLikeDelimiter, string dateTimeDelimiter ) : string
stringLikeDelimiter string
dateTimeDelimiter string
Résultat string

Property Details

_clauseOperator protected_oe property

The FilterClauseOperator to be used when creating this filterClause.
protected FilterClauseOperator _clauseOperator
Résultat FilterClauseOperator

_filterColumn protected_oe property

The Column Name (Property Name) to use when building this filter.
protected string _filterColumn
Résultat string

_filterValue protected_oe property

The actual value in the filterClause.
protected object _filterValue
Résultat object