Obfuscated Scenario: A person has zero, one or many pets.
Using Linq to Sql, the need is to get an IQueryable list of pets for the given pe
IQueryable
what worked for me,
var db = new DataClasses1DataContext(); var personPets = from p in db.Persons where p.PersonId == 1 select p.Pet; IQuerable pets = (IQuerable)personPets;
strangely enough