Knight Data Access Layer
Connection Property (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : Connection Property
Get a reference to the database connection
Syntax
Public Overridable Property Connection As IDbConnection
Dim instance As BaseDatabaseProvider
Dim value As IDbConnection
 
instance.Connection = value
 
value = instance.Connection
public virtual IDbConnection Connection {get; set;}
public: __property virtual IDbConnection* get_Connection();
public: __property virtual void set_Connection( 
   IDbConnection* value
);
public:
virtual property IDbConnection^ Connection {
   IDbConnection^ get();
   void set (    IDbConnection^ value);
}
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

Reference

BaseDatabaseProvider Class
BaseDatabaseProvider Members