I have a Linq to SQL data model that uses single table inheritance.
I created a new ASP.net Dynamic Data web site with a开发者_StackOverflow社区ll table scaffolding enabled, but I can't see any of the derived classes in my data model being scaffolded.
Is this by design?
Table Inheritance is possible with (unreleased) ASP.NET 4.0 using LINQ to SQL. The Dynamic Data Samples / Futures download-able here have an Inheritance.dbml file that the team created specifically to demonstrate this.
Also see the Walkthrough, which applies to Entity Framework.
精彩评论