We have two assemblies A and B where B extends from A. B has a property of a type in A
If we have a record of B in de database and we delete A wich is used by B the record will be removed
How can we prevent this in code because we will show a delete link or not if we can or can't delete A. Because B always need a type of A and if A is in used by a record of B, A may not be removed.
We use NHibernate as ORM.