So I have a Users class and a products class.
I am using Code first approach and trying to make it so that I can add in products and I can add in users and then have the relationship mapped between the two objects without having a foreign key relationship.
So in essence the user will have more than one product but the products will be defined. I would do this normally in a database with a lookup table mapping the two of them but I can not for the life of me get Entity to do this functionality and am considering scrapping it and doing Database first design.
For the purposes of this question you can consider a user just a POCO with an ID and Products a POCO With an id.
I feel like I am dancing around this issue while searching but I can't find anything that solves it so sorry if the answer is out there already.