Seed Method
Collapse the table of content
Expand the table of content

CreateDatabaseIfNotExists<TContext>.Seed Method

When overridden adds data to the context for seeding. The default implementation does nothing.

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

protected virtual void Seed(
	TContext context
)

Parameters

context
Type: TContext

The context to seed.

Show:
© 2016 Microsoft