Monthly Archives: December 2011

What’s the deal with mapping foreign keys using the Entity Framework?

Since EF4 it has been possible to map foreign key columns to properties of entity classes. But is it really a good idea to do this? In this post I’ll explain the reasons for keeping foreign keys out of your … Continue reading

Posted in Change Tracking, Entity Framework, Foreign Keys, Independent Associations | Tagged , , , | 4 Comments

Should you use Entity Framework change-tracking proxies?

In my last post I described the different types of entity that EF supports. But which type of entity should you use?

Posted in Change Tracking, Entity Framework, Proxies | Tagged , , | 7 Comments

Entity types supported by the Entity Framework

I was going to write a post about when to use change-tracking proxies. But I then thought before doing that it would be useful to go over all the different types of classes that the Entity Framework supports, of which … Continue reading

Posted in Change Tracking, Entity Framework, Proxies | Tagged , , | Leave a comment