Back to Devexpress

TdxBackendDataConnectionCollection Class

vcl-dxbackend-e5364419.md

latest3.5 KB
Original Source

TdxBackendDataConnectionCollection Class

A collection of data connections stored in the TdxBackendDataConnectionManager component.

Declaration

delphi
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

AddCreates a data connection of any supported type and adds the connection to the collection.ClearClears the collection.CountReturns the number of data connections accessible through the Items property.DeleteDeletes individual stored data connection components.ItemsProvides indexed access to stored data connection components.

General-Purpose API Members

AssignCopies data connection components between collections.BeginUpdate | EndUpdateAllow you to avoid redundant notifications during batch collection changes.

Available Data Connection Components

TdxBackendInMemoryJSONConnectionA component designed for interaction with data stored in memory.TdxBackendDataSetJSONConnectionA component designed to fetch data from one or multiple datasets (TDataSet descendant instances).TdxBackendDatabaseSQLConnectionA non-visual component designed to fetch data from a relational 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

TdxBackendDataConnectionCollection Members

dxBackend Unit