FireDAC.Comp.Client.TFDAdaptedDataSet.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDAdaptedDataSet

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

Description


Creates an instance of a TDataSet component.

FireDAC.Comp.Client.TFDAdaptedDataSet.Create inherits from Data.DB.TDataSet.Create. All content below this line refers to Data.DB.TDataSet.Create.

Creates an instance of a TDataSet component.

Call Create to instantiate a dataset component at runtime. TDataSet contains abstract methods, and is not intended to be used in applications. Instead, applications instantiate dataset descendants such as TClientDataSet, TADODataSet, TTable, TQuery, TStoredProc, or TSQLDataSet.

AOwner is the component, typically a form or data module, that is responsible for freeing the dataset. It becomes the value of the Owner property.

Create creates the auxiliary objects such as empty field and field definition lists and initializes default property values (such as setting AutoCalcFields to true).

See Also