I need to access two databases in my XDATA server depending on the table name i am selecting the data from. So i know if the table names is A i go to database1 , if B - to database2.
I thought i can switch the connection pool between 2 aurelius connections in the TSDATASERVER event ONENTITYLIST but in the code for that event i cannot get the information about the entity name in the request. The 'Args' object doesn't give me anything.
procedure TServerContainer.XDataServerEntityList(Sender: TObject;
Args: TEntityListArgs);
begin
end;
I apologies for my confusing explanation. I just don't see any properties of the Args object.
The image is attached. I am probably missing some units in uses(?)