Let's say I have a table "produtcs" wich has a many to many reationship with the table "category" so that a product can be in many categories and each category has many products.
Using IQueryable, how do I check if a product with the name "beer" in both in category "beverages" and "sport"?
Like how do I continue this
IQueryable

Sachin SinghRank #66 · 26.2K reputationPosted Nov 21, 2021, 11:52 PM EST
search from the opposite direction means first find the product then check the categories it belongs to.