TXDataServerModule.AddServiceImplementation Method
Registers a class that implements one or more service operation interfaces.
Remarks
Use it to register an implementation that is not found automatically, for example one that lives in a unit whose initialization does not register it. Raises EXDataInvalidServiceType exception when the class is not a valid service implementation.
Syntax
Unit: XData.Server.Module
procedure TXDataServerModule.AddServiceImplementation(AClass: TClass); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AClass | TClass | The implementing class. |