title: Ef Core Load Tree List
body: <p>In accordance with my model, I want to extract the data as a tree list at once.</p>
  
  <pre><code>public class FolderInResearch : EntityBase
  {
      public FolderInResearch()
      {
          SubFolders = new List&lt;FolderInResearch&gt;();
      }
      public string Name { get; set; }      
      public Guid? ParentFolderId { get; set; }
      [ForeignKey("ParentFolderId")]
      public ICollection&lt;FolderInResearch&gt; SubFolders { get; set; }        
  }
  </code></pre>