Nested Query in Entity Framework

From Logic Wiki
Revision as of 14:27, 9 May 2016 by Dt1nh6 (Talk | contribs) (1 revision imported)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


        Dim EarliestDate As DateTime = (From a In Absences
                                       From d In a.Durations 
                                           Where Not d.Exported Select d.AbsenceDate).Min()

Duration is a subset of Absence