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

In This Topic
    Connection Property
    In This Topic
    Returns the connection used by the framework.
    Syntax
    'Declaration
     
    Public ReadOnly Property Connection As DbConnection
    public DbConnection Connection {get;}
    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