Click here to Skip to main content
15,896,111 members
Articles / Programming Languages / SQL

The Entity Framework (v1 and v4) Deal Breaker: TPT Inheritance

Rate me:
Please Sign up or sign in to vote.
4.67/5 (6 votes)
18 Mar 2010CPOL5 min read 21.8K   12  
So what’s wrong with EF’s TPT inheritance? The SQL that EF generates. With some simple testing (2 or 3 subclasses) everything may appear to be fine. In fact, you may even be impressed that EF manages to fetch all the data you need in a single trip, indeed, in a single query.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) CB Richard Ellis
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions