Datasnap.DBClient.TAggregate.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(Aggregates: TAggregates; ADataSet: TCustomClientDataSet); reintroduce; overload;

C++

__fastcall TAggregate(TAggregates* Aggregates, TCustomClientDataSet* ADataSet)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TAggregate

Description

Creates and initializes an instance of TAggregate.

Most applications do not call Create to create an aggregate object. Instead, they call the Add method of the TAggregates collection to which the aggregate should belong.

The Aggregates or Collection parameter specifies the TAggregates collection to which the TAggregate instance should belong.

The ADataSet parameter specifies the client dataset whose data the aggregate summarizes.

See Also