I have the following Linq query I'm working with entity framework.
var res = from a in _db.Articles
from auth in a.Authors
where papers.Contains(a.JoomlaId)
select auth.Institution;
The problem is that my institution class has a variable named "Type
" of type "InstitutionType
" that I need to include, and I have no idea how to do that.
Institution.InstitutionType
which doesn't seam ok either.