Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DropCreateDatabaseIfModelChanges<TContext>::Seed Method (TContext)

Entity Framework 6.0
 

A method 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.

Return to top
Show: