Advanced.Data.Provider Documentation

AdpConnection Members

[This is preliminary documentation and subject to change.]

AdpConnection overview

Public Instance Constructors

AdpConnectionOverloaded. Initializes a new instance of the AdpConnection class.

Public Instance Properties

ConnectionString Gets or sets the string used to open a database server.
ConnectionTimeout Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Database Gets the name of the current database or the database to be used after a connection is opened.
Provider Gets the AdpProvider to access a database server.
State Gets the current state of the connection.

Public Instance Methods

BeginTransactionOverloaded. Begins a database transaction.
ChangeDatabase Changes the current database for an open AdpConnection.
Close Closes the connection to the database. This is the preferred method of closing any open connection.
CreateCommand Creates and returns a AdpCommand object associated with the AdpConnection.
Dispose Releases the resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetGeneratedID ??? !!! ???
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Open Opens a database connection with the property settings specified by the ConnectionString.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

AdpConnection Class | Advanced.Data.Provider Namespace