I have two linq queries that I run on two different tables, Car and Truck. From these queries I select the ID, Name, and Company.
var car = from c in db.Cars
select new {ID = c.ID, Name = c.Name, Company = c.Company};
var truck = from t in db.Trucks
select new {ID = t.ID, Name = t.Name, Company = t.Company};
How do I append the truck data to the car data using Linq so that the resultant query contains both car and truck data?