Show/Hide Toolbars

TMS XData Documentation

Navigation: Server-Side Events

OnEntityGet Event

Scroll Prev Top Next More

Occurs after an entity is retrieved, right before being sent to the client. This event is also fired when the client requests part of that entity, for example, individual properties of the entity, blob data, or associated entities.

 

Example:

 

Module.Events.OnEntityGet.Subscribe(
  procedure(Args: TEntityGetArgs)
  begin
    // code here
  end
);

 

TEntityGetArgs Properties:

 

Name

Description

Entity: TObject

The retrieved entity

Handler: TXDataBaseRequestHandler

The XData request processor object.