Share via


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

public DbContextConfiguration Configuration { get; }

Property Value

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

See Also

Reference

DbContext Class

System.Data.Entity Namespace