public override void NotifyDeleting() { base.NotifyDeleting(); if (OnNotifyDeleting_Fragebogen != null) { OnNotifyDeleting_Fragebogen(this); } Antworten.Clear(); Student.Clear(); }
public override void NotifyDeleting() { base.NotifyDeleting(); if (OnNotifyDeleting_Fragebogen != null) { OnNotifyDeleting_Fragebogen(this); } // FK_Ein_Fragebogen_enthaelt_gute_Antworten ZeroOrMore foreach (NHibernatePersistenceObject x in Antworten) { x.ParentsToDelete.Add(this); ChildrenToDelete.Add(x); } Antworten.Clear(); Student.Clear(); }