开发者

Many to Many relationships in Subsonic 3

I can't get this to work with Subsonic 3

I have two tables "Blog" & "Category" with a 开发者_如何学运维mapping (joining) table with a composite primary key on both Primary Keys.

I have looked into SQLServer.ttinclude and to my understanding, it doesnt handle many-to-many in the first place!


Relationship properties will get created by the SubSonic template, but they will be from your Blog & Category tables to the joining table (rather than through to each other).

In one project, I made significant changes to the Classes & Context tt files in order to generate relationship properties across many-to-many tables.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜