M
Marc S
var qry = from s in dbCxt.Services
from j in s.Jobs
where s.ID == 200
select new { s, j };
I want to call qry.ToList() but with the list containing anonomyous
types I don't know how to create a List object to support that. I want
to get all records in a List so that I only have to make 1 call to the
database. Is this even possible?
from j in s.Jobs
where s.ID == 200
select new { s, j };
I want to call qry.ToList() but with the list containing anonomyous
types I don't know how to create a List object to support that. I want
to get all records in a List so that I only have to make 1 call to the
database. Is this even possible?