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.
Mostrar archivo Open project: Chillisoft/habanero.binding

Public Methods

Method 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

Method Description
DataFilter ( ) : System

Method Details

DataFilter() public method

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.
return System

Invoke() public method

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

Invoke() public method

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.
return bool