Saad
Saad

Reputation: 1352

Fluent NHibernate Many to Many Mapping

I have a scenario in which i got 2 tables, and a third bridge table for many to many relationship.
Table A:

Table B:

TableAB

I have extra field in bridge table how to map many to many in this scenario.

Thanks

Upvotes: 0

Views: 759

Answers (1)

danyolgiax
danyolgiax

Reputation: 13086

I think you have to create an entity for the bridge table!

Look here:

additional fields in NHibernate many-to-many relation tables

update

I also found this workaround but I've not tested it:

Nhibernate many-to-many with extra fields in the join table

Upvotes: 1

Related Questions