Nested Query in Entity Framework

From Logic Wiki
Revision as of 15:05, 17 August 2015 by Macrop (Talk) (Created page with "Category:Entity Framework Dim EarliestDate As DateTime = (From a In Absences From d In a.Durations...")

(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