Export (0) Print
Expand All

DbContext.Database 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.]

Creates a Database instance for this context that allows for creation/deletion/existence checks for the underlying database.

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

public Database Database { get; }

Property Value

Type: System.Data.Entity.Database
© 2014 Microsoft