Back to Devexpress

TdxBackendDataConnectionManager Class

vcl-dxbackend.md

latest6.8 KB
Original Source

TdxBackendDataConnectionManager Class

An auxiliary component for data connection management at design time.

Declaration

delphi
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

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.

Refer to the following help topic for step-by-step instructions on using the TdxBackendDataSetJSONConnection component in your project:

VCL Reports/Dashboards: How to Use Data Source and Data Set 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:

VCL Reports/Dashboards: How to Use Memory-Based or Remote API 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 Reports/Dashboards: 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.

CountReturns the number of data connection components accessible through the Items property.ItemsProvides indexed access to individual data connection components.DataConnectionsProvides access to a collection of data connection components. Allows you to create and destroy individual data connection components.

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.

Download: Compiled VCL Demos

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_

Inheritance

TObject TPersistent TComponent TcxCustomComponent TdxBackendDataConnectionManager

See Also

Backend for VCL Reports/Dashboards

TdxBackendDataConnectionManager Members

dxBackend Unit