Grandchildren in Entity Framework Core

July 4, 2017

To select children and grandchildren when selecting in entity framework on dot net core:

lDatabaseContext.Parents.Include(p => p.Children).ThenInclude(c => c.GrandChild)

References