Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30727/NHibernate/Impl
Modified Files:
SessionImpl.cs
Log Message:
Enumerable now works with multiple results.
Index: SessionImpl.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl/SessionImpl.cs,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** SessionImpl.cs 25 Jun 2004 20:40:12 -0000 1.30
--- SessionImpl.cs 5 Jul 2004 20:34:21 -0000 1.31
***************
*** 1711,1719 ****
throw new ADOException("Could not execute query", e);
}
! //TODO: H2.0.3 - move from IEnumerable to some Interface that supports indexing
! // if(many)
! // {
! // results[i] = result;
! // }
}
--- 1711,1718 ----
throw new ADOException("Could not execute query", e);
}
! if(many)
! {
! results[i] = result;
! }
}
|