I'm trying to implement many-to-many relationship inside my database. Not sure what to do next.
I have 3 tables already:
Users, Coffeeshop and UserCoffeeShops for the many-to-many relationships.
I already added the necessary code:
Inside dbContext:
Inside CoffeeShopEntity:
Inside User entity:
I already have existing users and coffeeshops.
The question is how I suppose to connect between them and add them to the table of UserCoffeeshops?
Users, Coffeeshop and UserCoffeeShops for the many-to-many relationships.
I already added the necessary code:
Inside dbContext:
Inside CoffeeShopEntity:
Inside User entity:
I already have existing users and coffeeshops.
The question is how I suppose to connect between them and add them to the table of UserCoffeeshops?
