Skip to main content

JoinOperand Members

An operator that joins persistent objects on a specified condition, and calculates aggregate functions against matching objects.

Constructors

Name Description
JoinOperand() Initializes a new instance of the JoinOperand class with the default settings.
JoinOperand(String, CriteriaOperator, Aggregate, CriteriaOperator) Initializes a new instance of the JoinOperand class with the specified settings.
JoinOperand(String, CriteriaOperator, String, IEnumerable<CriteriaOperator>) Initializes a new instance of the JoinOperand class with the specified settings.
JoinOperand(String, CriteriaOperator) Initializes a new instance of the JoinOperand class with the specified settings.

Properties

Name Description
AggregatedExpression Gets or sets the aggregated expression.
AggregateType Gets or sets the type of the aggregate operator.
Condition Gets or sets the filter criteria applied to the property values of the objects being joined.
CustomAggregateCount static Inherited from CriteriaOperator.
CustomAggregateName Gets or sets a custom aggregate function‘s name.
CustomAggregateOperands Gets an operand collection passed to a custom aggregate function.
CustomFunctionCount static Returns the number of custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls. Inherited from CriteriaOperator.
JoinTypeName Gets or sets the type name of persistent objects being joined with parent objects.

Methods

Name Description
Accept(ICriteriaVisitor) For internal use.
Accept<T>(ICriteriaVisitor<T>) For internal use.
And(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical AND. Inherited from CriteriaOperator.
And(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical AND. Inherited from CriteriaOperator.
And(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical AND. Inherited from CriteriaOperator.
Avg(CriteriaOperator) Creates a new JoinOperand which returns the average of values calculated by the given aggregate expression. This expression is evaluated against elements that match the specified JoinOperand.Condition.
Clone() Creates a copy of the current JoinOperand instance.
Clone(CriteriaOperator) static Creates a copy of the specified CriteriaOperator object. Inherited from CriteriaOperator.
Clone(OperandProperty) static Creates a copy of the specified OperandProperty object. Inherited from CriteriaOperator.
Count() Creates a new JoinOperand which returns the count of elements that match the JoinOperand.Condition.
Count(CriteriaOperator) Creates a new JoinOperand which returns the count of elements that match the JoinOperand.Condition.
CriterionEquals(CriteriaOperator, CriteriaOperator) static This method is intended for internal use. Inherited from CriteriaOperator.
Custom(String, IEnumerable<CriteriaOperator>) Creates a new custom JoinOperand with a custom aggregate function.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the current object has the same settings as the specified object.
Exists() Creates a new JoinOperand which determines whether or not the count of elements that match the JoinOperand.Condition is greater than zero.
Exists(CriteriaOperator) Creates a new JoinOperand which determines whether or not the count of elements that match the JoinOperand.Condition is greater than zero.
FormatConstantValue(Object) static Converts an object to a string that can be used in criteria expressions. Inherited from CriteriaOperator.
FormatPropertyName(String) static Converts a property name to a string that can be used in criteria expressions. Inherited from CriteriaOperator.
FromLambda<TModel>(Expression<Func<TModel, Boolean>>) static Converts the specified LINQ-like expression to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
FromLambda<TModel, TResult>(Expression<Func<TModel, TResult>>) static Converts the specified LINQ-like expression to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
GetCustomAggregate(String) static Searches custom aggregate functions registered in an application via the RegisterCustomAggregate(ICustomAggregate) and RegisterCustomAggregates(IEnumerable<ICustomAggregate>) method calls for a function with a specified name. Inherited from CriteriaOperator.
GetCustomAggregates() static Searches custom aggregate functions registered in an application via the RegisterCustomAggregate(ICustomAggregate) and RegisterCustomAggregates(IEnumerable<ICustomAggregate>) method calls. Inherited from CriteriaOperator.
GetCustomFunction(String) static Searches custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls for a function with a specified name. Inherited from CriteriaOperator.
GetCustomFunctions() static Returns custom functions registered in an application via the CriteriaOperator.RegisterCustomFunction and CriteriaOperator.RegisterCustomFunctions method calls. Inherited from CriteriaOperator.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current JoinOperand object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNotNull() Initializes a new UnaryOperator instance that checks whether the current criteria is not null. Inherited from CriteriaOperator.
IsNull() Initializes a new UnaryOperator instance that checks whether the current criteria is null. Inherited from CriteriaOperator.
LegacyToString() Returns the string representation of the criteria specified by the current CriteriaOperator instance. Inherited from CriteriaOperator.
LegacyToString(CriteriaOperator) static Returns the string representation of a specified criteria. Inherited from CriteriaOperator.
Max(CriteriaOperator) Creates a new JoinOperand which returns the maximum of the values calculated by the given aggregate expression. This expression is evaluated against elements that match the specified JoinOperand.Condition.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Min(CriteriaOperator) Creates a new JoinOperand which returns the minimum of the values calculated by the given aggregate expression. This expression is evaluated against elements that match the specified JoinOperand.Condition.
Not() Returns an instance of the UnaryOperator that represents the criterion resulting from the logical inversion of the criterion the current CriteriaOperator represents. Inherited from CriteriaOperator.
Or(CriteriaOperator, CriteriaOperator) static Returns the expression which groups two operands with logical OR. Inherited from CriteriaOperator.
Or(CriteriaOperator[]) static Returns the expression which groups the specified operands with logical OR. Inherited from CriteriaOperator.
Or(IEnumerable<CriteriaOperator>) static Returns the expression which groups the specified operands with logical OR. Inherited from CriteriaOperator.
Parse(String, out OperandValue[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
Parse(String, Object[]) static Converts the specified string, specifying an expression, to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
ParseList(String, out OperandValue[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents. Inherited from CriteriaOperator.
ParseList(String, Object[]) static Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents. Inherited from CriteriaOperator.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterCustomAggregate(ICustomAggregate) static Registers a custom aggregate function to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
RegisterCustomAggregates(IEnumerable<ICustomAggregate>) static Registers custom aggregate functions to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
RegisterCustomFunction(ICustomFunctionOperator) static Registers a specified custom function to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
RegisterCustomFunctions(IEnumerable<ICustomFunctionOperator>) static Registers specified custom functions to use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
Sum(CriteriaOperator) Creates a new JoinOperand which returns the sum of values calculated by the given aggregate expression. This expression is evaluated against elements that match the specified JoinOperand.Condition.
ToBasicStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToBasicStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToCStyleString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in C# style. Inherited from CriteriaOperator.
ToCStyleString(CriteriaOperator) static Converts the specified expression into its equivalent string in C# style. Inherited from CriteriaOperator.
ToString() Converts the current expression into its VB equivalent string. Inherited from CriteriaOperator.
ToString(CriteriaOperator, out OperandValue[]) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
ToString(CriteriaOperator) static Converts the specified expression into its equivalent string in VB style. Inherited from CriteriaOperator.
TryParse(String, Object[]) static Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent. Inherited from CriteriaOperator.
UnregisterCustomAggregate(ICustomAggregate) static Unregisters a specified custom aggregate function from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomAggregate(String) static Unregisters a custom aggregate function with a specified name from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomFunction(ICustomFunctionOperator) static Unregisters a specified custom function from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.
UnregisterCustomFunction(String) static Unregisters a custom function with a specified name from use in any CriteriaOperator-based criteria in your application. Inherited from CriteriaOperator.

Events

Name Description
QueryCustomFunctions static Inherited from CriteriaOperator.
UserValueParse static Occurs when restoring a serialized criteria operator that references a user object. Inherited from CriteriaOperator.
UserValueToString static Occurs when serializing a criteria operator that references a user object. Inherited from CriteriaOperator.
See Also