开发者

Multiple Inheritance in LINQtoSQL?

开发者 https://www.devze.com 2022-12-12 10:51 出处:网络
Guys, I have been surfing thru the web to find a way that I could use Multiple-Table-Inheritance in LINQ-To-SQL. But it looks like that it only supports single table inheritance which is not the best

Guys, I have been surfing thru the web to find a way that I could use Multiple-Table-Inheritance in LINQ-To-SQL. But it looks like that it only supports single table inheritance which is not the best way to a开发者_如何学Gochieve inheritance in a ORM framework. I got to read that this will be addressed in next LINQ and Entity framework implementations. But how longer a stay we are talking about? In the meantime, if any of you guys have tried out a work-around implementation to achieve this, please let me know. And I thought of using my leisure time to come up with such an implementation so suggestions are welcome!

/Bumble Bee


Entity Framework supports table per type now: http://msdn.microsoft.com/en-us/library/bb399159.aspx

0

精彩评论

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