Skip to main content
A newer version of this page is available. .

CriteriaOperator Methods

The base Criteria Language operator.
Name Description
Accept(ICriteriaVisitor) For internal use only. Accepts the specified visitor.
Accept<T>(ICriteriaVisitor<T>) For internal use only. Accepts the specified visitor.
And(CriteriaOperator, CriteriaOperator) static Initializes a new CriteriaOperator that groups specified criteria via the logical AND operator.
And(CriteriaOperator[]) static Initializes a new CriteriaOperator that groups specified criteria via the logical AND operator.
And(IEnumerable<CriteriaOperator>) static Initializes a new CriteriaOperator that groups specified criteria via the logical AND operator.
Clone(CriteriaOperator) static Initializes a new CriteriaOperator instance that is a copy of the specified instance instance.
Clone(OperandProperty) static Initializes a new OperandProperty instance that is a copy of the specified instance instance.
CriterionEquals(CriteriaOperator, CriteriaOperator) static Determines whether the specified CriteriaOperators are equal.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current CriteriaOperator instance.
GetCustomFunction(String) static Returns a registered custom function with the specified name.
GetCustomFunctions() static Returns all registered custom functions.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNotNull() Initializes a new UnaryOperator instance that checks whether the current criterion is not null.
IsNull() Initializes a new UnaryOperator instance that checks whether the current criterion is null.
LegacyToString() Converts the current expression into its string equivalent and removes value suffixes (like 'm', 'M', 'l', 'L', etc.)
LegacyToString(CriteriaOperator) static Converts the specified expression into its string equivalent and removes value suffixes (like 'm', 'M', 'l', 'L', etc.)
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Not() Initializes a new UnaryOperator instance that applies the logical NOT operator to the current criterion.
Or(CriteriaOperator, CriteriaOperator) static Initializes a new CriteriaOperator that groups specified criteria via the logical OR operator.
Or(CriteriaOperator[]) static Initializes a new CriteriaOperator that groups specified criteria via the logical OR operator.
Or(IEnumerable<CriteriaOperator>) static Initializes a new CriteriaOperator that groups specified criteria via the logical OR operator.
Parse(String, out OperandValue[]) static Converts the specified string into its CriteriaOperator equivalent. Throws an exception if it cannot convert the string to a criterion.
Parse(String, Object[]) static Converts the specified string into its CriteriaOperator equivalent. Throws an exception if it cannot convert the string to a criterion.
ParseList(String, out OperandValue[]) static Converts the specified string into its CriteriaOperators equivalent. Expressions should be divided by a semicolon (';'). Throws an exception if it cannot convert the string to criteria.
ParseList(String, Object[]) static Converts the specified string into its CriteriaOperators equivalent. Expressions should be divided by a semicolon (';'). Throws an exception if it cannot convert the string to criteria.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterCustomFunction(ICustomFunctionOperator) static Registers the specified custom function.
RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>) static Registers the specified custom functions.
ToBasicStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its VB-style string equivalent.
ToBasicStyleString(CriteriaOperator) static Converts the specified expression into its VB-style string equivalent.
ToCStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its C#-style string equivalent.
ToCStyleString(CriteriaOperator) static Converts the specified expression into its C#-style string equivalent.
ToString() Converts the current expression into its VB-style string equivalent.
ToString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its VB-style string equivalent.
ToString(CriteriaOperator) static Converts the specified expression into its VB-style string equivalent.
TryParse(String, Object[]) static Converts the specified string into its CriteriaOperator equivalent. Returns null if cannot convert the string to a criterion.
UnregisterCustomFunction(ICustomFunctionOperator) static Cancels registration of the specified custom function.
UnregisterCustomFunction(String) static Cancels registration of a custom function with the specified name.
See Also