更新时间:2023-02-02 22:42:18
我也遇到了类似的问题,如果我没记错的话,我发现的是 EF不支持Cassade。自行删除,因此我们需要通过代码进行处理。我遵循的是
i also faced the similar issue, and if i remember correctly what i found is EF doesn't support cassade delete on self reference, so we need to handle it by code. What i followed is