SimpleObjectLayer.Connection Property
In This Article
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
NuGet Package: DevExpress.Xpo
#Declaration
[Browsable(false)]
public IDbConnection Connection { get; }
#Property Value
Type | Description |
---|---|
IDb |
An object which implements the IDb |
#Remarks
The Connection property returns the connection used by the data access layer assigned to the SimpleObjectLayer.DataLayer property.
#Implements
See Also