Share via


DbConnectionInfo Class

Definition

Represents information about a database connection.

[System.Serializable]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="Casing is intentional")]
public class DbConnectionInfo
[System.Serializable]
public class DbConnectionInfo
type DbConnectionInfo = class
Public Class DbConnectionInfo
Inheritance
DbConnectionInfo
Attributes

Constructors

DbConnectionInfo(String, String)

Creates a new instance of DbConnectionInfo based on a connection string.

DbConnectionInfo(String)

Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetType()

Gets the Type of the current instance.

ToString()

Returns a string that represents the current object.

Applies to