API:Datasnap.Provider.TPacketDataSet.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TPacketDataSet

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TPacketDataSet(System::Classes::TComponent* AOwner);

Description

Creates and initializes an instance of TCustomClientDataSet.

Datasnap.Provider.TPacketDataSet.Create inherits from Datasnap.DBClient.TCustomClientDataSet.Create. All content below this line refers to Datasnap.DBClient.TCustomClientDataSet.Create.

Creates and initializes an instance of TCustomClientDataSet.

Call Create to instantiate a client dataset component at run time. Client datasets added to forms or data modules at design time are created automatically.

AOwner is a component—typically a form or data module—that is responsible for freeing the client dataset.

See Also