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

JoinOperand Class

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

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v18.2.dll

Declaration

public class JoinOperand :
    CriteriaOperator,
    IAggregateOperand

Remarks

Use the JoinOperand to build criteria and calculate aggregate functions using the properties of persistent objects that don’t have explicitly defined associations. Persistent objects, to which the current JoinOperand is applied, are called parent objects for the join. To specify the type of persistent objects to be joined with parent objects, use the JoinOperand.JoinTypeName property.

The JoinOperand does the following:

Refer to the Free Joins help topic, to learn how to use the JoinOperand.

Note

  • For performance reasons, we recommend that you not use the JoinOperand when filtering or sorting the XPCollection on the client side, as this significantly increases the number of queries sent to the server.
  • JoinOperand may produce null instead of zero for an empty collection on a server side.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the JoinOperand class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also