public void RaiseRelationChangedEvent( DomainObject domainObject, IRelationEndPointDefinition relationEndPointDefinition, DomainObject oldRelatedObject, DomainObject newRelatedObject) { ArgumentUtility.CheckNotNull("domainObject", domainObject); ArgumentUtility.CheckNotNull("relationEndPointDefinition", relationEndPointDefinition); using (EnterScopeOnDemand()) { domainObject.OnRelationChanged(new RelationChangedEventArgs(relationEndPointDefinition, oldRelatedObject, newRelatedObject)); } _extensionCollection.RelationChanged(_clientTransaction, domainObject, relationEndPointDefinition, oldRelatedObject, newRelatedObject); _listenerCollection.RelationChanged(_clientTransaction, domainObject, relationEndPointDefinition, oldRelatedObject, newRelatedObject); }