[This is preliminary documentation and is subject to change.]
Represents the comparator data class in the Persistate system
definition file.
Declaration Syntax
C# |
public struct Comparator : IMultiValue
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
Comparator(Int32) | Creates a new Comparator from an integer value. | |
_undefined_ | This is the default Comparator value. | |
Between | This is the value for between. | |
Equal | This is the value for equal. | |
Equals(Object) | Performs an equality comparison with another object. (Overrides ValueType.Equals(Object).) | |
ExplicitNarrowingExplicitExplicitExplicit(Comparator to String) | Explicit conversion from Comparator to string. | |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode()()()() | Creates a hash code for the Comparator. (Overrides ValueType.GetHashCode()()()().) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
GreaterOrEqual | This is the value for greater or equal. | |
GreaterThan | This is the value for greater than. | |
ImplicitWideningImplicitImplicitImplicit(Comparator to Int32) | Implicit conversion from Comparator to int. | |
ImplicitWideningImplicitImplicitImplicit(Int32 to Comparator) | Implicit conversion from int to Comparator. | |
ImplicitWideningImplicitImplicitImplicit(String to Comparator) | Implicit conversion from string to Comparator. | |
InSet | This is the value for in set. | |
IsCombinable | Indicates whether Comparator values can be combined. | |
LessOrEqual | This is the value for less or equal. | |
LessThan | This is the value for less than. | |
Matches | This is the value for matches. | |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
NotEqual | This is the value for not equal. | |
ordinal | Contains the value of the Comparator. | |
Ordinal | Gets the integer ordinal value of this Comparator. | |
Parse(String) | Parses a string containing a textual representation of an Comparator. | |
sourcePairs | This array contains one source pair for each Comparator value. | |
SourcePairs | Gets the array of ISourcePairs holding ordinal and text values. | |
TopValue | This is the value for the top value. | |
ToString()()()() | Creates a textual representation of the Comparator. (Overrides ValueType.ToString()()()().) |
Remarks
A Comparator represents the comparison operator in a SimpleCondition within a ViewClass. The usual suspects are all there, the only
non obvious one being Matches, which represents a text matching operator
usually implemented by the LIKE operator in SQL.