EntityDAC

TEntityConnection.AfterConnect

Occurs immediately after establishing a connection.

Unit

Syntax

Remarks

Write an AfterConnect event handler to take application-specific actions immediately after the connection component opens a database connection.

When theConnect method is called or the Connected property is set to True, a BeforeConnect event is generated, the connection is established, and then an AfterConnect event is generated. In the AfterConnect event handler, the Connected property value is True.

See Also

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