DbConnectionStringOrigin Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the origin of the database connection string associated with a DbContext.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="Casing is intentional")]
public enum DbConnectionStringOrigin
public enum DbConnectionStringOrigin
type DbConnectionStringOrigin =
Public Enum DbConnectionStringOrigin
- Inheritance
-
DbConnectionStringOrigin
- Attributes
Fields
Name | Value | Description |
---|---|---|
Convention | 0 | The connection string was created by convention. |
Configuration | 1 | The connection string was read from external configuration. |
UserCode | 2 | The connection string was explicitly specified at runtime. |
DbContextInfo | 3 | The connection string was overriden by connection information supplied to DbContextInfo. |
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework