TdxBackendDataConnectionManager Class
An auxiliary component for data connection management at design time.
Declaration
TdxBackendDataConnectionManager = class(
TcxCustomComponent
)
Remarks
A TdxDashboard/TdxDashboardControl or TdxReport component can use multiple data sources simultaneously. TdxBackendDataConnectionManager is a non-visual component designed to manage data connections available for a TdxDashboard/TdxDashboardControl or TdxReport component at design time.
Tip
You can create data connection components directly in code, without TdxBackendDataConnectionManager.
Refer to data connection class descriptions for detailed information and code examples.
Data Connection Components
- TdxBackendInMemoryJSONConnection
A component designed for interaction with local (in-memory) or remote JSON data accessible through a Web API service endpoint.
Refer to the following help topic for step-by-step instructions on using the TdxBackendInMemoryJSONConnection component as a data source for TdxDashboard/TdxDashboardControl and TdxReport.
- TdxBackendDataSetJSONConnection
A component designed to work with data in one or multiple VCL-compatible datasets (TDataSet descendants).
Use the TdxBackendDataSetJSONConnection component if you need to use TdxDashboardControl/TdxDashboard and TdxReport components together with VCL-compatible data sources.
- TdxBackendDatabaseSQLConnection
A DevExpress XPO-based component designed to fetch data from the following relational databases:
SQLite | Microsoft SQL Server/Azure SQL | PostgreSQL | Oracle Database | MySQL | Firebird
Tip
This component is based on the DevExpress XPO ORM engine (powered by ADO.NET).
TdxBackendDatabaseSQLConnection has built-in support for Microsoft SQL/Azure SQL and SQLite engines (you can use them without additional dependencies and extra configuration).
Refer to the following topic for a complete list of supported database engines and corresponding connection string examples: VCL Backend: Supported Database Engines.
Main API Members
The list below outlines key members of the TdxBackendDataConnectionManager class. These members allow you to create, destroy, and access individual data connection components.
- Count
- Returns the number of data connection components accessible through the Items property.
- Items
- Provides indexed access to individual data connection components.
- DataConnections
- Provides access to a collection of data connection components. Allows you to create and destroy individual data connection components.
Related Compiled Demos
To see TdxDashboardControl and TdxReport components in action, run BI Dashboards Designer/Viewer and Report Designer/Viewer demos in the VCL Demo Center installed with compiled DevExpress VCL demos. Click different items in the sidebar on the left to switch between demo features.
Tip
You can find full source code for installed compiled Report and Dashboard demos in the following folders:
- %PUBLIC%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressReports\
- %PUBLIC%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressDashboards\