Esempio n. 1
0
        public void RaiseObjectDeletedEvent(DomainObject domainObject)
        {
            ArgumentUtility.CheckNotNull("domainObject", domainObject);

            using (EnterScopeOnDemand())
            {
                domainObject.OnDeleted(EventArgs.Empty);
            }
            _extensionCollection.ObjectDeleted(_clientTransaction, domainObject);
            _listenerCollection.ObjectDeleted(_clientTransaction, domainObject);
        }