Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
All docs
V25.2
  • TdxBackendCustomDataConnection Class

    The base class for all report data connection components.

    Declaration

    TdxBackendCustomDataConnection = class abstract(TcxComponentCollectionItem)

    Remarks

    A data connection component is designed to bind a supported client component to data stored in memory or a database.

    Main API Members

    The list below outlines key members of the TdxBackendCustomDataConnection class. These members allow you to configure core data connection settings.

    Data Connection Settings

    Active
    Specifies if the data connection is active.
    DisplayName
    Specifies the data connection’s name both in template/layout designer and Collection Editor dialogs.

    General-Purpose API Members

    Collection | Index
    Specify the parent collection component.

    Direct TdxBackendCustomDataConnection Class References

    The following public API members reference data connection components as a TdxBackendCustomDataConnection object:

    TdxBackendDataConnectionCollection.Add
    Creates a data connection of the required type and ads the connection to the collection.
    TdxBackendDataConnectionCollection.Items
    Provides indexed access to all data connection components stored in the collection.
    TdxBackendDataConnectionManager.Items
    Provides indexed access to stored data connection components.
    TdxBackendCustomDataConnectionClass
    A reference to a backend data connection component class.

    Tip

    You need to cast a returned TdxBackendCustomDataConnection object to the corresponding terminal descendant class to acess all public API members.

    Call the ClassType function or use any other RTTI functionality to identify the actual data connection component type.

    Terminal TdxBackendCustomDataConnection Class Descendant

    Do not use the TdxBackendCustomDataConnection class directly. Use the following descendants instead:

    TdxBackendInMemoryJSONConnection
    A component designed for interaction with data stored in memory.
    TdxBackendDataSetJSONConnection
    A component designed to fetch data from one or multiple datasets (TDataSet descendant instances).
    TdxBackendDatabaseSQLConnection
    A component designed to fetch data from an SQL database (SQL Server, PostgreSQL, SQLite, etc.).
    See Also