Hi, guys.
I have a question about many to many relationships. Assume I have 2 tables in my database: Product and Category. I'm going to map my products to several categories, so I have an additional table ProductToCategory. How could the code look like for saving product data?
Suppose the interface for product editing contains of a simple Name textbox and check box list with categories.
Currently I have only 2 entities Product and Category mapped on my tables. But I cannot make out how to save product with categories assignments. Perhaps I should map an entity for ProductToCategory?
Version 2.5 Final. Self-servicing if possible.
Thank you in advance.