Skip to main content

SelectNode.Root Property

Gets or sets the name of the source node that is the root element among the source nodes used in a query.

Namespace: DevExpress.DataAccess.DataFederation

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

[Browsable(false)]
public IJoinNode Root { get; set; }

Property Value

Type Description
IJoinNode

A root source node.

Remarks

The property is used to determine the root data source in a federated query. When a federated query is executed, the data collector traverses its nodes to retrieve data starting with the root data source.

The root data source is set in the SelectNode constructor.

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

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.

See Also