Export (0) Print
Expand All
Expand Minimize

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