Freigeben über


DbContext.Configuration-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Bietet Zugriff auf Konfigurationsoptionen für den Kontext.

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

Eigenschaftswert

Typ: System.Data.Entity.Infrastructure.DbContextConfiguration
Ein Objekt, das für den Zugriff auf Konfigurationsoptionen verwendet wird.

Siehe auch

Verweis

DbContext Klasse

System.Data.Entity-Namespace