Today I was writing some code that needed to know what tables are present in an EF model… and I realized I’ve written this code multiple times and never remember all the little nuances of it… just in case you ever need to do the same I thought I’d turn it into a blog post … Continue reading What tables are in my EF model? And my Database?
ObjectContext
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