Hallo,
based on the video tutorial "TMS XData Client Fastest and easiest way to access Rest XData server from Delphi" I made a sample application with XDataClient + AureliusDataSet as follows:
Client := TXdataClient.Create;
Client.Uri := 'http://linux/chinook';
Customers := Client.List<TCustomers>;
AureliusDataSet1.SetSourceList(Customers);
AureliusDataSet1.Open;
Client.Uri := 'http://linux/chinook';
Customers := Client.List<TCustomers>;
AureliusDataSet1.SetSourceList(Customers);
AureliusDataSet1.Open;
It works fine of course but I still can't figure how to implement a filtered query such as:
http://linux/chinook/customers?$filter=CustomerID eq 1'
Unlike a IDBConnection, such as
Manager := TObjectManager.Create(Connection);
I can't figure how to create a Manager on the above approach. I have read about Service Operations, but is there a more simple approach ?
Thank you ;-)