corelibraries-devexpress-dot-dataaccess-dot-datafederation.md
A federated data source that integrates different data sources and provides uniform data access with a federated query.
Namespace : DevExpress.DataAccess.DataFederation
Assembly : DevExpress.DataAccess.v25.2.dll
NuGet Package : DevExpress.DataAccess
[ToolboxBitmap(typeof(FederationDataSource), "FederationDataSource.bmp")]
public class FederationDataSource :
FederationDataSourceBase,
IListSource,
IFederationListAdapter,
IListAdapterAsync,
IListAdapter,
ISupportInitialize,
IXtraSerializable,
IXtraSupportDeserializeCollectionItem,
IDynamicLookupSettingsDataProvider
<ToolboxBitmap(GetType(FederationDataSource), "FederationDataSource.bmp")>
Public Class FederationDataSource
Inherits FederationDataSourceBase
Implements IListSource,
IFederationListAdapter,
IListAdapterAsync,
IListAdapter,
ISupportInitialize,
IXtraSerializable,
IXtraSupportDeserializeCollectionItem,
IDynamicLookupSettingsDataProvider
The FederationDataSource class is a federated data source that integrates different data sources and provides uniform data access with a federated query.
Federated Data Source supports the following data source types:
You can create federated queries of the following types:
Join
Union and Union All
Transformation
You can create the federated data source at design time or runtime.
Use the Data Source Wizard in Reporting and Dashboards products to create a federated data source and connect to it.
Reporting Data Source Wizard Dashboards Data Source Wizard
The wizard allows you to create a federated query based on data from other data sources.
The wizard automatically assigns the name to a federated data source and federated query. The federated data source name is “Federation Data Source N” where N is a serial number. The federated query name is the same as the name of the first data source included in the query.
Use a default constructor to create a FederationDataSource class instance.
The main part of the Federated Data Source is the FederationDataSourceBase.Queries collection that contains federated queries.
See the following example for information on how to create federated data sources at runtime.
Tip
Example on GitHub: How to Bind a Dashboard to a Federated Data Source Created at Runtime
IXtraSupportDeserializeCollectionItem
Object MarshalByRefObject Component DataComponentBase FederationDataSourceBase FederationDataSource
See Also
How to Create the Data Access Library Data Sources at Runtime