DbContextInfo Class

 

Provides runtime information about a given DbContext type.

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

System.Object
  System.Data.Entity.Infrastructure.DbContextInfo

public class DbContextInfo

NameDescription
System_CAPS_pubmethodDbContextInfo(Type)

Initializes a new instance of the DbContextInfo class with specified context type.

System_CAPS_pubmethodDbContextInfo(Type, Configuration)

Initializes a new instance of the DbContextInfo class with specified context type and configuration file.

System_CAPS_pubmethodDbContextInfo(Type, Configuration, DbConnectionInfo)

Initializes a new instance of the DbContextInfo class using the specified connection information, context type and configuration file.

System_CAPS_pubmethodDbContextInfo(Type, Configuration, DbProviderInfo)

Initializes a new instance of the DbContextInfo class using the specified context type, configuration file, and provider information.

System_CAPS_pubmethodDbContextInfo(Type, ConnectionStringSettingsCollection)

Obsolete.Initializes a new instance of the DbContextInfo class using the specified context type and setting for the connection string.

System_CAPS_pubmethodDbContextInfo(Type, DbConnectionInfo)

Initializes a new instance of the DbContextInfo class using the specified context type and connection information..

System_CAPS_pubmethodDbContextInfo(Type, DbProviderInfo)

Initializes a new instance of the DbContextInfo class using the specified context type and provider information.

NameDescription
System_CAPS_pubpropertyConnectionProviderName

Gets the ADO.NET provider name of the connection used by the underlying DbContext type.

System_CAPS_pubpropertyConnectionString

Gets the connection string used by the underlying DbContext type.

System_CAPS_pubpropertyConnectionStringName

Gets the connection string name used by the underlying DbContext type.

System_CAPS_pubpropertyConnectionStringOrigin

Gets the origin of the connection string used by the underlying DbContext type.

System_CAPS_pubpropertyContextType

Gets the concrete DbContext type.

System_CAPS_pubpropertyIsConstructible

Gets whether the underlying DbContext type can be created.

System_CAPS_pubpropertyOnModelCreating

Gets or sets an action to be run on the DbModelBuilder after OnModelCreating has been run on the context.

NameDescription
System_CAPS_pubmethodCreateInstance()

Creates an instance of DbContextInfo object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.