Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DbConnectionStringOrigin Enumeration
Collapse the table of content
Expand the table of content

DbConnectionStringOrigin Enumeration

Entity Framework 5.0

Describes the origin of the database connection string associated with a DbContext object.

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

public enum DbConnectionStringOrigin

Member nameDescription
ConventionThe connection string was created by convention.
ConfigurationThe connection string was read from external configuration.
UserCodeThe connection string was explicitly specified at runtime.
DbContextInfo The connection string was overriden by connection information supplied to DbContextInfo.

Show:
© 2015 Microsoft