EF Classic - ToSelfHierarchyList - Documentation - Options - FlatListRecursionLevel (EF Core)