wlandgraf
(Wagner Landgraf)
August 11, 2020, 1:45pm
2
Geometry data type is not supported by Aurelius. You can still use XData, but then you will have to create the SQL statements manually, as showed in this example:
All you need to do is create your service contract interface with the operations you want (PUT, POST, etc.) and the routes.
[ServiceContract]
[Route('customers')]
ICustomerService = interface(IInvokable)
['{D2981778-B681-4D4B-B95E-9816B5C7F1D1}']
[HttpPost, Route('')]
procedure CreateCustomer(Customer: TCustomer);
[HttpGet, Route('')]
function GetCustomers: TList<TCustomer>;
[HttpGet, Route('{Id}')]
function GetCustomer(Id: Integer): TCustomer;
[HttpPut, Ro…