Read this article it explains most of the different mappings with examples
http://www.codeproject.com/KB/database/Nhibernate_Made_Simple.aspx On Jul 1, 10:22 am, usbsnowcrash <jeffery.ye...@gmail.com> wrote: > I have two tables Game and Genre. Each game can have 0 or more > genres. I have a table that manages this mapping that has a composite > key pointing back to the primary keys on Game and Genre. Here is a > visual: > > Game > -------------- > *GameID > GameName > > GameGenres > -------------- > *GameID > *GenreID > > Genre > -------------- > *GenreID > GenreName > > I am pretty new to NHibernate and I am unsure how I would create a > ma ppin g for this scenario. Can anyone help me out? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---