views:

49

answers:

2

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?

A: 

i have the same problem. i need to do something like

<asp:dynamicfield datafield="Address.Street" />

i don't know this is possible. ideas?

CurlyFro
A: 

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.

Ash Machine