See Also

DbConnectionBase Class  | Devart.Common Namespace  | DbConnection  | OracleConnection Class

See AlsoDevart.Data.OracleSend comments on this topic.

DbConnectionBase Class Members

Devart.Common Namespace : DbConnectionBase Class

DbConnectionBase overview

Public Properties

Public Property ConnectionStringOverridden. Gets or sets the string used to open a server connection.
Public Property ConnectionTimeoutOverridden. Gets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Public Property Container (Inherited from System.ComponentModel.Component)Gets the IContainer that contains the Component.
Public Property DatabaseOverridden. Gets or sets the name of the current database or the database to be used once a connection is open.
Public Property DataSourceOverridden. Gets or sets name of the server to which to connect.
Public Property InDistributedTransactionIndicates whether the connection is enlisted in a distributed transaction.
Public Property NameGets or sets name of the component.
Public Property OwnerGets or sets a form or other container that the DbConnectionBase instance belongs to.
Public Property ServerVersionOverridden. Gets a string containing the version of the instance of the server to which the client is connected.
Public Property Site (Inherited from System.ComponentModel.Component)Gets or sets the ISite of the Component.
Public Property StateOverridden. Gets the current state of the connection.

Public Methods

Public Method BeginOpenStarts an asynchronous invocation of an Open method.
Public Method BeginTransaction (Inherited from System.Data.Common.DbConnection)Overloaded. Starts a database transaction.
Public Method ChangeDatabaseOverridden. Changes the current database associated with an open DbConnectionBase.
Public Method CloseOverridden. Closes the connection to the database. This is the preferred method of closing any open connection.
Public Method CreateCommand (Inherited from System.Data.Common.DbConnection)Creates and returns a DbCommand object associated with the current connection.
Public Method CreateObjRef (Inherited from System.MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Public Method Dispose (Inherited from System.ComponentModel.Component)Releases all resources used by the Component.
Public Method EndOpenEnds an asynchronous invocation of the Open method.
Public Method EnlistTransactionOverridden. Enlists in the specified transaction.
Public Method GetLifetimeService (Inherited from System.MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Public Method GetSchemaOverloaded. Overridden. Provides information about server schema objects.
Public Method InitializeLifetimeService (Inherited from System.MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Public Method OpenOverridden. Opens a database connection with the property settings specified by the ConnectionString.
Public Method ToString (Inherited from System.ComponentModel.Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Events

Public Event Disposed (Inherited from System.ComponentModel.Component)Occurs when the component is disposed by a call to the Dispose method.
Public Event StateChangeOccurs when the state of the connection changes.
Public Event TransactionStateChangedOccurs when the state of the transaction is changed.
Public Event TransactionStateChangingOccurs when the state of the transaction is changing.

See Also

DbConnectionBase Class  | Devart.Common Namespace  | DbConnection  | OracleConnection Class

 

 


© 2002 - 2013 Devart. All Rights Reserved.