score:2

Accepted answer

It sounds like you want:

var familyId = (
    from item in locationIds
    from I in context.TblInsuree 
    // ... etc
    && D.ValidityTo == null) 
    select F.FamilyId)
    .FirstOrDefault();

?


Related Articles