Term

Filter term.

Namespace:
Inetdev.Data.Filtering
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

Term

Default constructor

Signature:
public Void Term()

Properties

Caption

Localized caption.

Signature:
public String Caption { get; set; }

Column

Column name.

Signature:
public String Column { get; set; }

DataType

Column data type.

Signature:
public DbType DataType { get; set; }

HasValue

Whether the term has value.

Signature:
public Boolean HasValue { get; }

Operator

Comparison operator.

Signature:
public TermOperator Operator { get; set; }

Operators

Returns a collection of valid operator for this Term.

Signature:
public List<TermOperator> Operators { get; }

Options

Options for term values.

Signature:
public List<IListItem> Options { get; set; }

UsesValue2

Whether the term can use Value2 for Range filtering.

Signature:
public Boolean UsesValue2 { get; }

Value1

First value.

Signature:
public String Value1 { get; set; }

Value2

Second value (optional).

Signature:
public String Value2 { get; set; }

Methods

GetOperators

Returns a collection of valid operator for this Term.

Signature:
public IEnumerable<TermOperator> GetOperators()
Returns

A collection of TermOperators.

ToString

Returns a textual representation of this Term.

Signature:
public String ToString()