Skip to main content

DataConnectionBase Members

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

Properties

Name Description
ConnectionString Gets or sets a connection string used to establish a connection to a data store.
ConnectionStringSerializable For internal use.
HasConnectionString Specifies whether the connection string has been assigned to the data connection.
IsConnected Specifies whether the connection to a database is currently active.
Name Gets or sets the name of a data connection.
StoreConnectionNameOnly Specifies whether to serialize any connection settings except for the data connection name.

Methods

Name Description
Close() Closes the data connection session.
CreateConnectionString() Creates a connection string.
CreateDataConnectionParameters() Creates the data connection parameters.
Equals(Object, Object) static Determines 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() protected Creates a shallow copy of the current Object. Inherited from Object.
Open() Opens the data connection session.
ReferenceEquals(Object, Object) static Determines 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