From: Michael D. <mik...@us...> - 2004-06-03 13:29:41
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31240 Modified Files: Map.cs Set.cs Log Message: Fixed problem with lazy load of Collections when the properties Keys and Values were used. Was not reading from the db. Index: Map.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/Map.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Map.cs 27 Apr 2004 15:49:21 -0000 1.8 --- Map.cs 3 Jun 2004 13:29:32 -0000 1.9 *************** *** 96,100 **** get { ! //Read(); return new CollectionProxy(this, map.Keys); } --- 96,100 ---- get { ! Read(); return new CollectionProxy(this, map.Keys); } *************** *** 104,108 **** get { ! //Read(); return new CollectionProxy(this, map.Values); } --- 104,108 ---- get { ! Read(); return new CollectionProxy(this, map.Values); } Index: Set.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/Set.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Set.cs 27 Apr 2004 15:49:21 -0000 1.7 --- Set.cs 3 Jun 2004 13:29:32 -0000 1.8 *************** *** 149,153 **** get { ! //Read(); return new CollectionProxy(this, map.Keys); } --- 149,153 ---- get { ! Read(); return new CollectionProxy(this, map.Keys); } *************** *** 161,165 **** get { ! //Read(); return new CollectionProxy(this, map.Values); } --- 161,165 ---- get { ! Read(); return new CollectionProxy(this, map.Values); } |