I have a table with more than 100 columns. I need to join it to another table to pick up one more column. Do I have to list every column in my left table or is there a simpler way.
var query = from p in context.policies
join s in context.states
on p.state_id equals s.state_id
select new {
p.column1,
p.column2,
p.column3,
<etc> ...,
p.column123,
s.state_name
};
Is there a way to do this without creating a whole new object just to add one field?