This post is based on a pre-release version of Entity Framework. An updated post is available here. This is the sixth in a series of posts about the recently released Entity Framework Feature CTP4, now affectionately known as “EF Magic Unicorn Edition”. In this post we are going to take a look … Continue reading EF CTP4 Tips & Tricks: Testing With Fake DbContext
DbContext
EF CTP4 Tips & Tricks: Querying Navigations Without Loading
This is the fifth in a series of posts about the recently released Entity Framework Feature CTP4, now affectionately known as “EF Magic Unicorn Edition”. Today we are going to take a look at how to query the contents of the navigation property of a loaded entity without loading the contents of that navigation into … Continue reading EF CTP4 Tips & Tricks: Querying Navigations Without Loading
EF CTP4 Tips & Tricks: Running Additional DDL
This is the fifth in a series of posts about the recently released Entity Framework Feature CTP4, now affectionately known as “EF Magic Unicorn Edition”. For this post I’m going to assume you have a basic knowledge of Code First using DbContext. One common question I hear is “how do I include additional indexes (or … Continue reading EF CTP4 Tips & Tricks: Running Additional DDL
EF CTP4 Tips & Tricks: WCF Data Service on DbContext
This is the fourth in a series of posts about the recently released Entity Framework Feature CTP4, now affectionately known as “EF Magic Unicorn Edition”. For this post I’m going to assume you are somewhat familiar with the Productivity Improvements for EF and WCF Data Services. You can download the completed VS2010 project from this … Continue reading EF CTP4 Tips & Tricks: WCF Data Service on DbContext
EF CTP4 Tips & Tricks: Mapping to an Existing Database
This is the third in a series of posts about the recently released Entity Framework Feature CTP4 (AKA “EF Magic Unicorn Edition”). Most of the samples/demos of Code First so far have focused on creating a new database that is generated from a set of classes, however Code First also can be used in scenarios … Continue reading EF CTP4 Tips & Tricks: Mapping to an Existing Database