Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DropCreateDatabaseAlways<TContext>::InitializeDatabase Method (TContext)

Entity Framework 6.0
 

Executes the strategy to initialize the database for the given context.

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

public:
virtual void InitializeDatabase(
	TContext context
)

Parameters

context
Type: TContext

The context.

Exception Condition
ArgumentNullException

context is null .

Return to top
Show: