IDatabaseInitializer(Of TContext) Interface
Entity Framework 5.0
Defines a method for the database initializer.
Namespace: System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
'Declaration Public Interface IDatabaseInitializer(Of In TContext As DbContext) 'Usage Dim instance As IDatabaseInitializer(Of In TContext)
Type Parameters
- In TContext
The type of the context.
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see https://msdn.microsoft.com/en-us/library/dd799517(v=vs.103).aspx.
The IDatabaseInitializer(Of TContext) type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | InitializeDatabase | Executes the strategy to initialize the database for the given context. |
Show:
