C# Class Habanero.Binding.DataFilter

Public Wrapper for the internal DataExpression class in the .Net framework. The purpose of this class is to test if single DataRows match a given filter expression.
Afficher le fichier Open project: Chillisoft/habanero.binding

Méthodes publiques

Méthode Description
DataFilter ( string expression, DataTable dataTable ) : System

Creates a new instance.

Invoke ( DataRow row ) : bool

Tests whether a single DataRow matches the filter expression.

Invoke ( DataRow row, DataRowVersion version ) : bool

Tests whether a single DataRow matches the filter expression.

Private Methods

Méthode Description
DataFilter ( ) : System

Method Details

DataFilter() public méthode

Creates a new instance.
public DataFilter ( string expression, DataTable dataTable ) : System
expression string Filter expression string.
dataTable System.Data.DataTable of the rows to be tested.
Résultat System

Invoke() public méthode

Tests whether a single DataRow matches the filter expression.
public Invoke ( DataRow row ) : bool
row System.Data.DataRow to be tested.
Résultat bool

Invoke() public méthode

Tests whether a single DataRow matches the filter expression.
public Invoke ( DataRow row, DataRowVersion version ) : bool
row System.Data.DataRow to be tested.
version DataRowVersion The row version to use.
Résultat bool