Datasnap.Provider.TCustomProvider.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomProvider(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TCustomProvider |
Description
Creates a new TCustomProvider object.
Call Create to instantiate a provider at runtime. Providers placed in forms or data modules at design time are created automatically.
The constructor assigns the AOwner parameter as the owner of the provider. This owner is responsible for freeing the provider when it is destroyed. If the owner is a remote data module, the constructor registers the provider with that remote data module so that it is available to client applications through the IAppServer interface.