多态协会的​​LINQ to SQL协会、多态、LINQ、to

2023-09-03 15:18:28 作者:废物

是否的LINQ to SQL提供开箱即装即用的多态关联的Ruby on Rails的活动记录呢?如果没有,有没有什么办法来手动映射这些关联?

Does LINQ to SQL provide out-of-the-box polymorphic associations as ruby on rails active record does? If not, is there any workaround to manually map those associations?

推荐答案

同意。我发现这样做也没有使用设计也不是由手工追加类没有可能的方式/方法的属性。而且不可能有外键约束的多态关联。我放弃了这个选项,谢了。

Agreed. I found no possible way of doing this nor using the designer nor by hand appending class/method attributes. Moreover is not possible to have foreign key constraints for polymorphic associations. I discarded this option, thanks.