Options
ThenInclude
How to get ThenInclude to work in LINQPad 5? I'm getting the error " does not contain a definition for 'ThenInclude'"
Comments
Blog.Take (100).Include (b => b.Posts).ThenInclude (p => p.Blog)
Just as with Visual Studio, you won't see the ThenInclude method appear in the autocompletion listing due to a bug in Roslyn, although it compiles and runs correctly. See https://docs.microsoft.com/en-us/ef/core/querying/related-data for details.
Here is how I've defined Blog and Posts in my EF Core 2 project in Visual Studio: Can you try the same?