Datasnap.DataBkr.TProviderDataModule.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TProviderDataModule(System::Classes::TComponent* AOwner);
/* TDataModule.CreateNew */ inline __fastcall virtual TProviderDataModule(System::Classes::TComponent* AOwner, int Dummy) : System::Classes::TDataModule(AOwner, Dummy) { }

Properties

Type Visibility Source Unit Parent
constructor public
Datasnap.DataBkr.pas
Datasnap.DataBkr.hpp
Datasnap.DataBkr TProviderDataModule

Description

Creates an instance of a data module.

Datasnap.DataBkr.TProviderDataModule.Create inherits from System.Classes.TDataModule.Create. All content below this line refers to System.Classes.TDataModule.Create.

Creates an instance of a data module.

Call Create to instantiate a data module at runtime if it was not created at design time. Create calls CreateNew. If an error occurs, an exception is raised. Otherwise, if OldCreateOrder is true, Create calls the OnCreate event handler for the data module if one is assigned to it.

See Also