loading a full hierarchy from a self referencing table with EntityFramework.Core

前端 未结 2 530
花落未央
花落未央 2020-12-01 04:43

Explanation why this question is different to: EF - multiple includes to eager load hierarchical data. Bad practice?

  1. the possible duplicate is an opinion based
2条回答
  •  心在旅途
    2020-12-01 05:15

    I have built stored procedure to get all childs in all levels using recursive cte stored procedure to get all childs ids of any level of self-referencing table using Entity Framework and recursive cte

提交回复
热议问题