DbContextInfo Class
Provides runtime information about a given DbContext type.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | DbContextInfo(Type) | Initializes a new instance of the DbContextInfo class with specified context type. |
![]() | DbContextInfo(Type, Configuration) | Initializes a new instance of the DbContextInfo class with specified context type and configuration file. |
![]() | DbContextInfo(Type, Configuration, DbConnectionInfo) | Initializes a new instance of the DbContextInfo class using the specified connection information, context type and configuration file. |
![]() | DbContextInfo(Type, Configuration, DbProviderInfo) | Initializes a new instance of the DbContextInfo class using the specified context type, configuration file, and provider information. |
![]() | DbContextInfo(Type, ConnectionStringSettingsCollection) | Obsolete.Initializes a new instance of the DbContextInfo class using the specified context type and setting for the connection string. |
![]() | DbContextInfo(Type, DbConnectionInfo) | Initializes a new instance of the DbContextInfo class using the specified context type and connection information.. |
![]() | DbContextInfo(Type, DbProviderInfo) | Initializes a new instance of the DbContextInfo class using the specified context type and provider information. |
Name | Description | |
---|---|---|
![]() | ConnectionProviderName | Gets the ADO.NET provider name of the connection used by the underlying DbContext type. |
![]() | ConnectionString | Gets the connection string used by the underlying DbContext type. |
![]() | ConnectionStringName | Gets the connection string name used by the underlying DbContext type. |
![]() | ConnectionStringOrigin | Gets the origin of the connection string used by the underlying DbContext type. |
![]() | ContextType | Gets the concrete DbContext type. |
![]() | IsConstructible | Gets whether the underlying DbContext type can be created. |
![]() | OnModelCreating | Gets or sets an action to be run on the DbModelBuilder after OnModelCreating has been run on the context. |
Name | Description | |
---|---|---|
![]() | CreateInstance() | Creates an instance of DbContextInfo object. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.