Opalis Quick Integration Kit 3.0
A filter Relation indicates the test to be performed when evaluating whether a value satisfies a filter condition.

Namespace:  Opalis.QuickIntegrationKit
Assembly:  Opalis.QuickIntegrationKit(in Opalis.QuickIntegrationKit.dll) Version: 3.0.0.0 (3.1.0.1)

Syntax

C#
[
FlagsAttribute]
public 
enum 
Relation
Visual Basic (Declaration)
<
FlagsAttribute> _
Public 
Enumeration 
Relation
Visual C++
[
FlagsAttribute]
public 
enum class 
Relation

Members

Member name Description
Default
Uses the default relations as determined by the type of the property with which the OpalisFilter attribute is associated.
EqualTo
Tests that one value is equal to another
NotEqualTo
Tests that one value does not equal another.
LessThan
Tests that one value is less than another.
LessThanOrEqualTo
Tests that one value is less than or equal to another.
GreaterThan
Tests the one value is greater than another.
GreaterThanOrEqualTo
Tests that one value is greater than or equal to another.
Before
Tests that one value is greater than another.
After
Tests that one value is greater than another.
Matches
Tests that a regular expression pattern is matched.
DoesNotMatch
Tests that a regular expression pattern is not matched.
StartsWith
Tests for an initial string.
EndsWith
Tests for an ending string.
Contains
Tests that one string contains another string.
DoesNotContain
Tests that one string does not contain another string.
String
Set of relations typically used for the stringtype.
Numeric
Set of relations typically used for numeric types (i.e. int, uint, single, double, etc.)
DateTime
Set of relations typically used for the DateTime type.

Examples

CopyC#
public 
void Design(IOpalisDesigner
designer)
{
	designer.AddFilter(

"Importance").WithRelation(Relation.EqualTo |
Relation.NotEqualTo);
	designer.AddFilter(

"Manager").WithRelation(Relation.String);
	designer.AddFilter(
"Incident
Date").WithRelations(Relation.DateTime);
}

See Also