NHibernate Mapping a Many to Many with Data on Join Table
问题 I have a User table and an Address table. They are connected by a join table. The mapping for that is straight forward, but I have some data on the join table that I would like to show up on the Address table. There may be a better way to set this up also, which I'm open to suggestions for. Here is the table structure. CREATE TABLE [dbo].[User] ( [Id] INT NOT NULL IDENTITY PRIMARY KEY, ... ) CREATE TABLE [dbo].[Address] ( [Id] INT NOT NULL IDENTITY PRIMARY KEY, ... ) CREATE TABLE [dbo].