How do I handle situations in which I need pre-existing data before the app is started or right after the database is generated. For example, I have a list of countries in w
You must create custom database initializer derived for example from DropCreateDatabaseIfModelChanges and fill data in overriden Seed method. Then you must use Database.SetInitializer to set your new initializer when application starts. Here is example (from CTP5) used to create custom index in the database.