If i have a product.
var p = new Product { Price = 30 };
and i have the following linq query.
var q = repo.Products().Where
Can you use the following:
var price = p.Price; var q = repo.Products().Where(x=>x.Price == price).ToList()