I need a List of objects whose properties will be the columns' names.
This is my approach:
var list = (from student in context.Student
join school in context.School
on student.idSchool equals school.idSchool
into allcolumns
from entry in allcolumns
select entry).ToList();
but list happens to be only a list of School
s. How can I accomplish my goal? Thank you.