DbConnectionStringOrigin Enumeration
TOC
Collapse the table of content
Expand the table of content

DbConnectionStringOrigin Enumeration

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:
© 2016 Microsoft