Back to Devexpress

DataConnectionBase Members

corelibraries-devexpress-dot-dataaccess-dot-dataconnectionbase-dot-underscore-members.md

latest4.3 KB
Original Source

DataConnectionBase Members

Serves as the base class for classes that represent a data connection.

Properties

NameDescription
ConnectionStringGets or sets a connection string used to establish a connection to a data store.
ConnectionStringSerializableFor internal use.
HasConnectionStringSpecifies whether the connection string has been assigned to the data connection.
IsConnectedSpecifies whether the connection to a database is currently active.
NameGets or sets the name of a data connection.
StoreConnectionNameOnlySpecifies whether to serialize any connection settings except for the data connection name.

Methods

NameDescription
Close()Closes the data connection session.
CreateConnectionString()Creates a connection string.
CreateDataConnectionParameters()Creates the data connection parameters.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetDBSchema()Returns the schema of the data source that is connected using the current DataConnectionBase.
GetDBSchema(String[])Returns the schema of the data source that is connected using the current DataConnectionBase.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
Open()Opens the data connection session.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

DataConnectionBase Class

DevExpress.DataAccess Namespace