private DeleteParentAction GetDeleteAction()
{
if (IsDefinedAsCompositionOrAggregation()) return DeleteParentAction.Prevent;
if (IsDefinedAsAssociation() || ReverseRelationshipIsDefinedAsAggregationOrComposition()) return DeleteParentAction.DoNothing;
//Else base on the OwningBOHasFK
return this.OwningBoHasForeignKey
? DeleteParentAction.DoNothing
: DeleteParentAction.Prevent;
}