PropertyComparator Enum
Specifies logical comparators used to compare property values.
public enum PropertyComparator
Fields
Equals
0
Supplied value is equal to the database value.
NotEquals
1
Supplied value is not equal to the database value.
Contains
2
Supplied value contains the database value.
GreaterThan
3
Supplied value is greater than the database value.
GreaterThanOrEqualTo
4
Supplied value is greater than or equal to the database value.
LessThan
5
Supplied value is less than the database value.
LessThanOrEqualTo
6
Supplied value is less than or equal to the database value.
Example
The following example demonstrates passing a PropertyComparator to the GetProcessesByProperty method.
var processes = Database.GetProcessesByProperty("Name", "John", PropertyComparator.Equals);