.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

EFObjectSpace.Connection Property

Gets the connection to the underlying data source.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v19.2.dll

Declaration

public override IDbConnection Connection { get; }
Public Overrides ReadOnly Property Connection As IDbConnection
public override IDbConnection Connection { get; }
Public Overrides ReadOnly Property Connection As IDbConnection

Property Value

Type Description
IDbConnection

An IDbConnection object that is the connection to the underlying data source.

Property Value

Type Description
IDbConnection

An IDbConnection object that is the connection to the underlying data source.

Remarks

This property returns the connection used by the current Object Space's EFObjectSpace.ObjectContext.

See Also