I am struggling to select multiple columns in the carCheckouts table. I just want the startMiles and endMiles from one row that I know the pk of. Is my linq statement correct? if so how do I turn b.startMiles and b.endMiles into usable variables after? Thanks
var m = (from b in db.carCheckouts
where b.pk == primaryKey
select new {b.startMiles, b.endMiles});