Fluent NHibernate Many to Many Mapping
I have a scenario in which i go开发者_如何学Ct 2 tables, and a third bridge table for many to many relationship.
Table A:- AID
- AName
Table B:
- BID
- BName
TableAB
- AID
- BID
- Allow
Thanks
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
精彩评论