World-class .NET Contractor. Top 1% on Stack Overflow. Top 3% of Freelance Developers. 9 Microsoft MVP Awards. My clients call me the Coding Machine. :)
I really would love to have #IncludeRecursively in #EntityFrameworkCore instead.
Something like:
var folder = dbContext.Folders
.Include(x => x.Parent, recursively: true)
.Include(x => x.Children, recursively: true)
.ToList(); // or maybe even .ToTree() or lookup ;)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I really would love to have #IncludeRecursively in #EntityFrameworkCore instead.
Something like:
var folder = dbContext.Folders
.Include(x => x.Parent, recursively: true)
.Include(x => x.Children, recursively: true)
.ToList(); // or maybe even .ToTree() or lookup ;)