Tag Archives: entity-framework-4

Brain Twist: .NET MVC 3, Entity Framework 4.1, and TDD

Talk about taking a large bite.

In the interests of pushing my .NET knowledge, I began migrating the Geist character sheet project that I’d started in Django to .NET MVC 3. I hadn’t done MVC in .NET since MVC 1 was beta’d, but hey, MVC is MVC is MVC. Right?

So in the interests of making things more interesting and more testable, I decided to dive into the Entity Framework 4. My beginning read of POJOs in Action, along with my previous experience with .netTears–I mean, .netTiers–had me generally familiar with the concepts of entities, contexts, and repositories.

Kicker is, POJOs is just a book (and one I’ve barely dived into), and .netTears uses code generation, meaning I could get away with treating it as just a very hefty ORM in the applications it was in. Generate and go.

Getting my fingers in it was a whole ‘nother experience.

Continue reading Brain Twist: .NET MVC 3, Entity Framework 4.1, and TDD