Base solution for your next web application

Activities of "potatoboro"

<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:

  1. You can define cascade delete in db level.
  2. You can delete children first.
  3. 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.

Showing 1 to 1 of 1 entries