Datasnap.Win.MtsRdm.TMtsDataModule.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Datasnap.Win.MtsRdm.pas
Datasnap.Win.MtsRdm.hpp
Unit: Datasnap.Win.MtsRdm
Parent: TMtsDataModule

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

Description

Creates an MTS data module instance.

Most applications do not need to call the constructor for TMtsDataModule. Instead, add a remote data module to a server application using the transactional data module wizard on the multi-tier page of the new items dialog.

AOwner specifies the component that is responsible for freeing the remote data module (typically the application).

See Also