hi i have table called products with columns
product_id
prodcut_name
prodcut_price( values like 1200,2000,3000
from p in dbcontext.products
join c in dbcontext.category on p.category_id equals c.category_id
where p.product_price > 500 && p.product_price < 10000 && c.Name == "a"
select p
This will return you an IQueryable with the filtered results.
Based on Vittore's answer below, if there is a foreign key constraints this would be the more appropriate version:
from p in dbcontext.products
where p.category.name =='a' && p.product_price > 500 && p.product_price < 10000
select p;