If you’ve upgraded to Entity Framework 4.1 you may have noticed the following no longer compiles. (the line of code that causes the database to drop and recreate on schema change).
![image image](./image.axd?picture=image_thumb_86.png)
Solution
DbDatabase.SetInitializer(new DropCreateDatabaseIfModelChanges<TCF.Models.TCFContext>());
![image image](./image.axd?picture=image_thumb_87.png)