I think I'm missing something really basic.
var signatures=from person in db.People
where person.Active==true
select new{person.ID, person.Lname, person.Fname};
This linq query works, but I have no idea how to return the results as a public method of a class.
Examples always seem to show returning the whole entity (like IQueryable<People
>), but in this case I only want to return a subset as SomeKindOfList<int, string, string
>. Since I can't use var, what do I use?
Thanks!