[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]
An implementation of IDatabaseInitializer that will recreate and optionally re-seed the database only if the database does not exist. To seed the database, create a derived class and override the Seed method.
Assembly: EntityFramework (in EntityFramework.dll)
Thetype exposes the following members.
|Equals||(Inherited from Object.)|
|Finalize||(Inherited from Object.)|
|GetHashCode||(Inherited from Object.)|
|GetType||(Inherited from Object.)|
|InitializeDatabase||Executes the strategy to initialize the database for the given context.|
|MemberwiseClone||(Inherited from Object.)|
|Seed||A method that should be overridden to actually add data to the context for seeding. The default implementation does nothing.|
|ToString||(Inherited from Object.)|