Export (0) Print
Expand All

DropCreateDatabaseIfModelChanges<TContext>.Seed Method

Entity Framework 5.0

A that should be overridden to actually add 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:
© 2015 Microsoft