Skip to main content
.NET 8.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.2.dll

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