Sql – Linq to SQL table inheritance in ASP.net Dynamic Data

asp.netdynamic-datalinq-to-sql

I have a Linq to SQL data model that uses single table inheritance.

I created a new ASP.net Dynamic Data web site with all table scaffolding enabled, but I can't see any of the derived classes in my data model being scaffolded.

Is this by design?

Best Answer

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.