.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.Disconnect() Method

Disconnects the session from a database.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public void Disconnect()
Public Sub Disconnect

Remarks

The Disconnect method rolls back an existing transaction and closes the connection created by the Session.Connect method.

See Also