Skip to main content

DataConnection Methods

Represents a connection to a data store.
Name Description
AddReference() For internal use.
BlackoutCredentials() Removes user credentials from the connection string generated for the current SqlDataConnection. Inherited from SqlDataConnection.
Close() Closes the connection to a SQL data source. Inherited from SqlDataConnection.
CreateConnectionString() Generates a connection string out of the connection parameters assigned to the SqlDataConnection. Inherited from SqlDataConnection.
CreateConnectionString(Boolean) Generates a connection string out of the connection parameters assigned to the SqlDataConnection (with or without including user credentials into the connection string). Inherited from SqlDataConnection.
CreateDataConnectionParameters() Creates an object that contains data connection parameters. Inherited from SqlDataConnection.
Dispose() Releases all resources used by SqlDataConnection. Inherited from SqlDataConnection.
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 SqlDataConnection. Inherited from SqlDataConnection.
GetDBSchema(Boolean, SchemaLoadingMode) Returns the schema of an SQL data source. Inherited from SqlDataConnection.
GetDBSchema(Boolean) Returns the schema of the data source that is connected using the current SqlDataConnection. Inherited from SqlDataConnection.
GetDBSchema(String[]) Returns the schema of the data source that is connected using the current SqlDataConnection. Inherited from SqlDataConnection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadDBColumns(DBTable[]) Loads columns from the specified tables. Inherited from SqlDataConnection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Open() Opens the data connection session. Inherited from DataConnectionBase.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveReference() For internal use.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also