Advantage TDataSet Descendant
OnDisconnect occurs when an application makes a request to release a connection.
type TNotifyEvent = procedure of object;
property OnDisconnect: TNotifyEvent;
Write an OnDisconnect event handler to take specific action when an application makes a request to release a connection.