EntityDAC

TEntityConnection.AfterDisconnect Event

Occurs immediately after closing a connection.

Class

TEntityConnection

Syntax

property AfterDisconnect: TNotifyEvent;

Remarks

Write a AfterDisconnect event handler to take application-specific actions immediately after the connection component closes a database connection.

When the Disconnect method is called or the Connected property is set to False, a BeforeDisconnect event is generated, the connection is closed, and then an AfterDisconnect event is generated. In the AfterDisconnect event handler, the Connected property value is False.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback