Skip to main content
.NET Framework 4.5.2+

Session.AfterConnect Event

Occurs after a connection to a database has been established.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll

Declaration

public event SessionManipulationEventHandler AfterConnect

Event Data

The AfterConnect event's data class is SessionManipulationEventArgs. The following properties provide information specific to this event:

Property Description
Session Gets the session currently being processed.

Remarks

The session is connected to a database via the Session.Connect method. After the connection has been established, the AfterConnect event is raised. The event parameter’s SessionManipulationEventArgs.Session property identifies the processed session.

See Also