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

My Entity Framework Code First Checklist

How many times have we all worked on some technology and then wanted to use it again on a different project but couldn’t figure out how to get started? We’ve all done it, and Entity Framework with Code First is definitely one of those technologies that is hard to get started.

…unless you have a checklist. That’s why I’m writing this. It’s my checklist. It helps me start new projects and hopefully it helps you, too. Continue reading