Share via


DropCreateDatabaseIfModelChanges<TContext>.InitializeDatabase Method

Definition

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

public virtual void InitializeDatabase (TContext context);
abstract member InitializeDatabase : 'Context -> unit
override this.InitializeDatabase : 'Context -> unit
Public Overridable Sub InitializeDatabase (context As TContext)

Parameters

context
TContext

The context.

Implements

Exceptions

context is null .

Applies to