Skip to main content
.NET 6.0+

SessionObjectLayer.Connection Property

Provides access to the current object layer’s IDbConnection object that is used to access a database.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

[Browsable(false)]
public IDbConnection Connection { get; }

Property Value

Type Description
IDbConnection

An object which implements the IDbConnection interface.

Remarks

For the SessionObjectLayer, the Connection property always returns null (Nothing in Visual Basic).

Implements

See Also