<cite>hikalkan: </cite> Hi,
This is not a unique problem to ABP. If you don't use ABP and use plain EntityFramework, same will happen. So, what's the solution? There are some alternatives:
- You can define cascade delete in db level.
- You can delete children first.
- You can make the parent ISoftDelete.
All has advantages and disadvantages. There maybe other alternatives, these are what I'm making for such cases based on the case.
Hi Hikalkan,
Thanks for your reply. Yeah i guess i will try to sort it out from EF level.
Thank You.