Saturday, 14 July 2012

Stop EF looking for migration tables

I keep forgetting how to do this should I’ll post it here.

Database.SetInitializer<DataContext>(null);

No comments:

Post a Comment