Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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


Type: TContext

The context to seed.

© 2015 Microsoft