title: Linq recursive parent child
body: <p>I have data from database like that :</p>
  
  <pre><code>id | description              | parent_id
  -----------------------------------------
  1  | Record 1                 | null
  2  | Record 2                 | 1
  3  | Record 3                 | null
  4  | Record 4                 | 2
  5  | Record 5                 | 3
  </code></pre>
  
  <p>I want to process using Linq, and it should be result like this :</p>
  
  <pre><code>Record 1
  - Record 2
    - Record 4
  Record 3
  - Record 5
  </code></pre>
  
  <p>I got solution : <a href="https://stackoverflow.com/questions/21262391/recursive-linq-query-select-item-and-all-children-with-subchildren">Recursive LINQ query: select item and all children with subchildren</a></p>
  
  <p>but unfortunately the result only has two level, because i want the result in multi level > 2 levels (like a tree). </p>
  
  <p>Any other best solution ? or how to modification that solution</p>
  
  <p>Thanks in advance</p>