A base class for SQL query that retrieves data from one or more sources.
NuGet Package: DevExpress.DataAccess
public abstract class QueryNode : IQueryNode, IAliasedNode, IJoinNode, IQuery
Public MustInherit Class QueryNode Implements IQueryNode, IAliasedNode, IJoinNode, IQuery
You can create federated queries of the following types:
Combines rows from two or more tables based on a column they share. The join type specifies records that have matching values in both tables. In API, create the SelectNode instance.
Union and Union All
The Union query combines rows from two or more tables into one data set and removes duplicate rows in merged tables. The UnionAll query operates like Union, but duplicates rows from different tables when they contain the same data. You can only create a union query for data sources that contain columns with the same name. Data types of such columns should be implicitly converted. In API, create the UnionNode instance and specify UnionNode.Type as Union/UnionAll.
If a data source contains a complex column (an object), you can transform its properties to display them as separate columns in a flattened view. If one of the data columns is an array, you can unfold its values and display a new data row for every element of the array. When you unfold the column, you can flatten it and create a flattened view. In API, create the TransformationNode instance.