This question is locked. New answers and comments are not allowed.
I get a "C#: This expression is not a valid statement" with the attached code. The first error that shows up is "C#: Missing ';'" The red line starts right after the join keyword.
var leinAssocResults = |
from l |
in (leinDb.tblLEIN_LEINs) |
join lar in (leinDb.tblLEIN_Associates.Where(leinAssocPredicate)) |
on l.LEINNUM equals lar.LEINNUM |
orderby l.Sort_Num descending |
select new |
{ |
lar.LNAME, |
lar.FNAME, |
lar.LEINNUM, |
lar.DOB, |
l.DISSEMINAT, |
lar.TYPE, |
lar.SEX, |
lar.RACE |
}; |
Any ideas?
Thanks!