Show/Hide Toolbars

TMS XData Documentation

Navigation: Server-Side Events

OnEntityList Event

Scroll Prev Top Next More

Occurs when the client queries an entity collection. This event is fired after the TCriteria object is built based on the client request, and right before the criteria is actually executed to retrieve the entities and sent to the client.




  procedure(Args: TEntityListArgs)
    // code here


TEntityGetArgs Properties:




Criteria: TCriteria

The Aurelius criteria built based on client request that will be used to retrieve the collections. You can modify the request here, adding extra filters, orders, etc., before it's executed and results are sent to the client

Handler: TXDataBaseRequestHandler

The XData request processor object.