Click or drag to resize
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.Data
Assembly: ArtDatabanken (in ArtDatabanken.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public enum CompareOperator
Members
  Member nameValueDescription
BeginsWith0 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%
Contains1 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%
EndsWith2 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
Equal3Equal.
Excluding4 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.
Greater5Greater.
GreaterOrEqual6Greater or equal.
Including7 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.
Less8Less.
LessOrEqual9Less or equal.
Like10 Like. This operator only applies to data type 'String'
NotEqual11Not equal.
See Also