Eduard Baraniak
Eduard Baraniak

Reputation: 431

How mapping many-to-many with additional columes in NHibernate

Please I do not know how to map "projekt_etapa" see on picture. it is Many to many, but I have there some another columes. So I do not know If i have tu use bag or make class for it. thank you so mutch.

My DB what i have to map

Upvotes: 1

Views: 169

Answers (1)

Cole W
Cole W

Reputation: 15313

This is definitely a duplicate of several other questions on StackOverflow. These are 3 of the many.

nhibernate many-to-many mapping - additional column in the mapping table?
additional fields in NHibernate many-to-many relation tables
Fluent Nhibernate Many-to-Many mapping with extra column

Brought to you by google:
site:StackOverflow.com nhibernate many to many additional columns

Upvotes: 2

Related Questions