ServiceContractAttribute Class
Flags an interface as a service contract, whose methods are published as service operations.
Remarks
The interface must inherit from IInvokable and have a GUID. Each of its methods becomes a service operation of the XData model. The URL of the operations is built from the interface name without the leading I and the method name, which can be changed with URIPathSegmentAttribute. The contract is implemented by a class flagged with ServiceImplementationAttribute.
Syntax
Unit: XData.Service.Common
ServiceContractAttribute = class(TCustomAttribute);