LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / Connection Property

Connection Property
Returns the connection used by the framework.
Syntax
'Declaration
 
Public ReadOnly Property Connection As DbConnection
 
Remarks
You can use this property to interoperate with relational ADO.NET code.

The returned connection will be closed unless it has been explicitly opened by the user.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also