Tips for Good Entity Framework Code First Models

One of the things in programming that you should get right the first time is code first models. Refactoring a database is way more work than normal code, and there will be cases where it’s so much work that it won’t be worth it.

So here’s a few tips from my recent (sometimes painful) refactoring work.

  1. Don’t think about how your model will look as a table, too much. Continue reading