Skip to content

ThenInclude like in .Net core for EntityFramework 6

Notifications You must be signed in to change notification settings

maleet/ThenInclude

 
 

Repository files navigation

ThenInclude

ThenInclude like in .Net core for EntityFramework 6

Example

using System.Data.Entity.Include;

var thenInclude = context.One.Including(x => x.Twoes)
    .ThenInclude(x=> x.Threes)
    .ThenInclude(x=> x.Fours)
    .ThenInclude(x=> x.Fives)
    .ThenInclude(x => x.Sixes)
    .Including(x=> x.Other)
    .ToList();

About

ThenInclude like in .Net core for EntityFramework 6

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%