I have the syntax below. I have set up sql constraints (i.e. foreign key relationships in the data model, etc..). I am wondering how I can write this statement using a lambda expression. Is it possible? I have read articles about eager loading, but not sure how that would apply and if I can write the query more concise?
var nominations = from n in ctx.Nominations
join c in ctx.Nominees
on n.NominationId equals c.NominationId
where c.NomineeADUserName == UserName
select n;