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
  • TdxBackendDataConnectionCollection Class

    A collection of report data connections stored in the TdxBackendDataConnectionManager component.

    Declaration

    TdxBackendDataConnectionCollection = class(
        TcxComponentCollection
    )

    Remarks

    A backend client component can populate template placeholder fields with data from multiple sources simultaneously. The TdxBackendDataConnectionCollection class implements a data connection collection for the TdxBackendDataConnectionManager component created to maintain data connections at design time.

    Main API Members

    The list below outlines key members of the TdxBackendDataConnectionCollection class. These members allow you to manage and access individual data connections available for backend client components in your project.

    Collection Management APIs

    Add
    Creates a data connection of any supported type and adds the connection to the collection.
    Clear
    Clears the collection.
    Count
    Returns the number of data connections accessible through the Items property.
    Delete
    Deletes individual stored data connection components.
    Items
    Provides indexed access to stored data connection components.

    General-Purpose API Members

    Assign
    Copies data connection components between collections.
    BeginUpdate | EndUpdate
    Allow you to avoid redundant notifications during batch collection changes.

    Available Data Connection Components

    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.).

    Direct TdxBackendDataConnectionCollection Class Reference

    The TdxBackendDataConnectionManager.DataConnections property references a TdxBackendDataConnectionCollection object.

    Inheritance

    TObject
    TPersistent
    TcxComponentCollection
    TdxBackendDataConnectionCollection
    See Also