CompareOperator Enumeration |
Definition of operators that can be used
when search criterias are compared to real data.
Only a limited combinations of operators and
data types are used.
For example: Data type 'Boolean' should only be used
in combination with operator 'Equal' and 'NotEqual'.
Some values are shared by other compare operator enums. For example, StringCompareOperator and NumberCompareOperator.
Make sure index numbers are mapped correctly for each enum. This is to make it possible to convert values between related enums.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken (in ArtDatabanken.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public enum CompareOperator
Public Enumeration CompareOperator
public enum class CompareOperator
Members
| Member name | Value | Description |
---|
| BeginsWith | 0 |
Search for strings that begins with the specified
search string. Wild chard is added to the search
string (at the end) before the search begins.
ex. like searchtext%
|
| Contains | 1 |
Search for strings that contains the specified
search string. Wild chards are added to the search string
(at the beginning and end) before the search begins.
ex. like %searchtext%
|
| EndsWith | 2 |
Search for strings that ends with the specified
search string. Wild chard is added to the search
string (at the beginning) before the search begins.
ex. like %searchtext
|
| Equal | 3 | Equal. |
| Excluding | 4 |
This operator may be used if data that has a range
is compared to some other data that also has a range.
Excluding means that true is returned if range of compared
data are completely within the range of the data that
it is compared to.
|
| Greater | 5 | Greater. |
| GreaterOrEqual | 6 | Greater or equal. |
| Including | 7 |
This operator may be used if data that has a range
is compared to some other data that also has a range.
Including means that true is returned if range of compare
data to any part is within the range of the data that it
is compared to.
|
| Less | 8 | Less. |
| LessOrEqual | 9 | Less or equal. |
| Like | 10 |
Like.
This operator only applies to data type 'String'
|
| NotEqual | 11 | Not equal. |
See Also