dotConnect for FreshBooks Documentation
Devart.Common Namespace / DbConnectionBase Class
Properties Methods Events

In This Topic
    DbConnectionBase Class Members
    In This Topic

    The following tables list the members exposed by DbConnectionBase.

    Public Properties
     NameDescription
    Public PropertyOverridden. Gets or sets the string used to open a server connection.  
    Public PropertyOverridden. Gets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.  
    Public PropertyGets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
    Public PropertyOverridden. Gets or sets the name of the current database or the database to be used once a connection is open.  
    Public PropertyOverridden. Gets or sets name of the server to which to connect.  
    Public PropertyIndicates whether the connection is enlisted in a distributed transaction.  
    Public PropertyGets or sets name of the component.  
    Public PropertyGets or sets a form or other container that the DbConnectionBase instance belongs to.  
    Public PropertyOverridden. Gets a string containing the version of the instance of the server to which the client is connected.  
    Public PropertyGets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
    Public PropertyOverridden. Gets the current state of the connection.  
    Top
    Public Methods
     NameDescription
    Public MethodStarts an asynchronous invocation of an Open method.  
    Public MethodOverloaded. Starts a database transaction. (Inherited from System.Data.Common.DbConnection)
    Public MethodOverridden. Changes the current database associated with an open DbConnectionBase.  
    Public MethodOverridden. Closes the connection to the data source. This is the preferred method of closing any open connection.  
    Public MethodCreates and returns a System.Data.Common.DbCommand object associated with the current connection. (Inherited from System.Data.Common.DbConnection)
    Public MethodCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
    Public MethodReleases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
    Public MethodEnds an asynchronous invocation of the Open method.  
    Public MethodOverridden. Enlists in the specified transaction.  
    Public MethodRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Overridden. Provides information about server schema objects.  
    Public MethodObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodOverridden. Opens a data source connection with the property settings specified by the ConnectionString.  
    Public MethodOverloaded. An asynchronous version of System.Data.Common.DbConnection.Open, which opens a database connection with the settings specified by the System.Data.Common.DbConnection.ConnectionString. This method invokes the virtual method System.Data.Common.DbConnection.OpenAsync(System.Threading.CancellationToken) with CancellationToken.None. (Inherited from System.Data.Common.DbConnection)
    Public MethodReturns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component)
    Top
    Public Events
     NameDescription
    Public EventOccurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component)
    Public EventOccurs when the state of the connection changes.  
    Public EventOccurs when the state of the transaction is changed.  
    Public EventOccurs when the state of the transaction is changing.  
    Top
    See Also