c# - How to keep integrity on soft delete? -


i have following situation: have system 1 entity related entities in cases (40% of system).

i'm using entity framework, can retrieve items property (e.g isdeleted) equals false, means, retrieve data correctly, i'm able , it's ok.

but, i'm trying figure out how can check if there's registry related principal entity before soft deletion. since have more 450 entities on system, it's not option validation hand on every table.

there's anything, configuration, flags... can perform validation?


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -