From: <fab...@us...> - 2011-05-20 15:09:51
|
Revision: 5845 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5845&view=rev Author: fabiomaulo Date: 2011-05-20 15:09:45 +0000 (Fri, 20 May 2011) Log Message: ----------- Relax Modified Paths: -------------- trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs Modified: trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs =================================================================== --- trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs 2011-05-20 15:08:10 UTC (rev 5844) +++ trunk/nhibernate/src/NHibernate/Event/Default/AbstractFlushingEventListener.cs 2011-05-20 15:09:45 UTC (rev 5845) @@ -84,7 +84,7 @@ } } - private void FlushCollections(IEventSource session) + protected virtual void FlushCollections(IEventSource session) { log.Debug("Processing unreferenced collections"); @@ -133,7 +133,7 @@ // 1. detect any dirty entities // 2. schedule any entity updates // 3. search out any reachable collections - private void FlushEntities(FlushEvent @event) + protected virtual void FlushEntities(FlushEvent @event) { log.Debug("Flushing entities and processing referenced collections"); @@ -166,7 +166,7 @@ } // Initialize the flags of the CollectionEntry, including the dirty check. - private void PrepareCollectionFlushes(ISessionImplementor session) + protected virtual void PrepareCollectionFlushes(ISessionImplementor session) { // Initialize dirty flags for arrays + collections with composite elements // and reset reached, doupdate, etc. @@ -182,7 +182,7 @@ //process cascade save/update at the start of a flush to discover //any newly referenced entity that must be passed to saveOrUpdate(), //and also apply orphan delete - private void PrepareEntityFlushes(IEventSource session) + protected virtual void PrepareEntityFlushes(IEventSource session) { log.Debug("processing flush-time cascades"); @@ -199,7 +199,7 @@ } } - private void CascadeOnFlush(IEventSource session, IEntityPersister persister, object key, object anything) + protected virtual void CascadeOnFlush(IEventSource session, IEntityPersister persister, object key, object anything) { session.PersistenceContext.IncrementCascadeLevel(); try This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |