LINQ works fine as follows. Query shortened for problem purpose.
var query = (
from p in DBContext.Products
from pp in DBContext.Pricing
select new { p,pp }
)
Now lets say I wanted a list of this query so for example:
var query = List<IQueryable<dynamic>>(); //this is what I assumed the return type would be but no.
for(int = 0; i<5;i++)
{
query = (from .... select new {p,pp})
}
So what is correct return type for query to store queries?