I have Product and Category tables in database.
One product can have many categories.
One category can have many products.
So, I have a third table as ProductCategory, which has ProductID and CategoryID.
In Fluent NHibernate, what does the mapping class should look like?
For example, For ProductMap class is it correct:
HasMany(x => x.Categories).Table("tProductCategory").KeyColumn("CategoryId);