From: Michael D. <mik...@us...> - 2005-02-06 01:59:13
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Loader In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26787/Loader Modified Files: Loader.cs Log Message: sergey's patch for the visitor pattern from h2.1. Index: Loader.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Loader/Loader.cs,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** Loader.cs 31 Dec 2004 20:57:56 -0000 1.45 --- Loader.cs 6 Feb 2005 01:59:02 -0000 1.46 *************** *** 229,233 **** if( ownerKey != null ) { ! PersistentCollection rowCollection = session.GetLoadingCollection( collectionPersister, ownerKey.Identifier, row[ collectionOwner ] ); object collectionRowKey = collectionPersister.ReadKey( rs, session ); if( collectionRowKey != null ) --- 229,233 ---- if( ownerKey != null ) { ! PersistentCollection rowCollection = session.GetLoadingCollection( collectionPersister, ownerKey.Identifier ); object collectionRowKey = collectionPersister.ReadKey( rs, session ); if( collectionRowKey != null ) *************** *** 288,292 **** if( singleCollection ) { ! optionalCollection.EndRead( CollectionPersister, optionalCollectionOwner ); } --- 288,292 ---- if( singleCollection ) { ! optionalCollection.EndRead(); } |