Skip to main content
.NET 6.0+

SimpleObjectLayer.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.v24.1.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

The Connection property returns the connection used by the data access layer assigned to the SimpleObjectLayer.DataLayer property.

Implements

See Also