Mimic Lazy Loading with Entity Framework 6 and Entity Framework Core 1.1

added by DotNetKicks
3/2/2017 8:59:28 PM

2 Kicks, 270 Views

Entity Framework Core doesn't have lazy loading (at least, not yet). But you can fake it by using explicit loading, though it doesn't work quite the way you might want. In fact, it's probably a good idea to use this in Entity Framework 6.