Paging TAureliusDataset for Datasnap

Hi,

In the documentation I read that you can use paging mechanism.
My problem I can't use the  TCriteria on the client side . (there is no TObjectManager)
So I can't use this code:

  var
    Criteria: TCriteria;
  begin
    Criteria := Manager.Find<TPerson>;
    AureliusDataset1.SetSourceCriteria(Criteria);
    AureliusDataset1.SetSourceCriteria(Manager.Find<TPerson>, 50);

Is there an event/notify that can trigger my methode to get the next 50 objects?
And how can I add the next 50 objects to the AureliusDataset1?

Regards,
Christophe




Unfortunately no, currently paging only works with TCriteria. We're investigating to make this architecture more generic to allow manual, custom paging (so XData can be used as well), but it's not implemented yet.