Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbConnectionInfo Class

Entity Framework 5.0

Represents information about a database connection.

System.Object
  System.Data.Entity.Infrastructure.DbConnectionInfo

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

[SerializableAttribute]
public class DbConnectionInfo

The DbConnectionInfo type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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().)
Top

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