DbConnectionInfo Class
Collapse the table of content
Expand the table of content

DbConnectionInfo Class

Entity Framework 5.0

Represents information about a database connection.


Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public class DbConnectionInfo

The DbConnectionInfo type exposes the following members.

Public methodDbConnectionInfo(String)Creates a new instance of DbConnectionInfo class representing a connection that is specified in the application configuration file.
Public methodDbConnectionInfo(String, String)Creates a new instance of DbConnectionInfo class based on a connection string.

Public methodEqualsIndicates whether the specified object is equal to the current object. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type of the current instance.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft