Login Skip Navigation LinksWilsonORMapper > Forums Search
Demo Version Demo Version
Download and try for yourself a fully working demo version, including sample apps and documentation.  The only limitation is that the demo version only works inside the debugger.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson ORMapper Forums Wilson ORMapper Forums : Advanced Topics : Creating Many-To-Many Relationships

Date Post
8/11/2006 12:44:47 PM

Is it possible to get the ORMapper Helper to create the m-n relationships (both classes and mappings)? If so, how would I need to set up the db in order to accomplish this?

I currently have 2 tables (Communities and Advertisements) that need to have a m-n relationship. I created another table (CommunityAdvertisements) that contains only the IDs of the other 2 tables.

Hopefully, I won't have to do this manually. But if I do, is there an example of classes that represent the relationship that works with the mappings found on this site?

Thanks.

8/11/2006 12:45:28 PM Sorry, but the helper doesn't deduce m-n relationships as they are more involved.

Thanks, Paul Wilson