Export (0) Print
Expand All

Database.Create Method

[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 new database on the database server for the model defined in the backing context. Note that calling this method before the database initialization strategy has run will disable executing that strategy.

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

public void Create()
Show:
© 2015 Microsoft