I have nested entites like example from msdn.
var blogs1 = context.Blogs
.Include(b => b.Posts.Select(p => p.Comments))
.ToList();
But in my case, Comment have structure like this:
public class Comment
{
public List<User> ViewedUsers { get; set; };
}
How can i load ViewedUsers in this case, if method .ThenInclude()
is unavalable? I mean new layer of nested entites.