开发者

Linq to SQL table inheritance in ASP.net Dynamic Data

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜