DbContext.Configuration Property

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Provides access to configuration options for the context.

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

Syntax

'Declaration
Public ReadOnly Property Configuration As DbContextConfiguration 
    Get
'Usage
Dim instance As DbContext 
Dim value As DbContextConfiguration 

value = instance.Configuration
public DbContextConfiguration Configuration { get; }
public:
property DbContextConfiguration^ Configuration {
    DbContextConfiguration^ get ();
}
member Configuration : DbContextConfiguration
function get Configuration () : DbContextConfiguration

Property Value

Type: System.Data.Entity.Infrastructure.DbContextConfiguration
An object used to access configuration options.

See Also

Reference

DbContext Class

System.Data.Entity Namespace