Sex, drugs and sausage rolls

Tech and Life… as seen by Tallmaris (il Gran Maestro)

entityframework

Entity Framework part 3: Testing the DbContext

In the previous episode we saw how to map our complex models in a database using Entity Framework and we were left with the question of how to test our mappings and our model context. We will quickly go through those scenarios now. Integration Testing Integration tests are a particular type of tests which are […]

, , , , , ,

Entity Framework part 2: Migrations and Relationships

In a previous post we had a brief introduction to Entity Framework 5 and Code First Migrations. We created a Task Model for our ToDo application and added a relevant Table to the DB, seeding it with data. In this post, we will add fields to the existing model and we will add another model, […]

, , ,

Entity Framework Primer: Initial Configuration and Migration

Hi All, I have been experimenting a bit with Entity Framework, the new v5, and wanted to share some of the little nice things that can get you started quickly. Setting up First of all you may want to install Entity Framework through NuGet. Keep in mind that you don’t need to do that if […]

, , , ,