Share via


DropCreateDatabaseAlways<TContext>.Seed(TContext) Method

Definition

A method that should be overridden to actually add data to the context for seeding. The default implementation does nothing.

protected virtual void Seed (TContext context);
abstract member Seed : 'Context -> unit
override this.Seed : 'Context -> unit
Protected Overridable Sub Seed (context As TContext)

Parameters

context
TContext

The context to seed.

Applies to