From: Michael D. <mik...@us...> - 2004-10-14 04:33:29
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13630 Modified Files: ISession.cs Log Message: removed some old comments. Index: ISession.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/ISession.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ISession.cs 9 Aug 2004 03:10:26 -0000 1.10 --- ISession.cs 14 Oct 2004 04:33:13 -0000 1.11 *************** *** 455,465 **** /// Get the current Unit of Work and return the associated <c>ITransaction</c> object. /// </summary> - /// <remarks> - /// I don't know if Hibernate is capable of having 2 Transaction objects for the same session - - /// it doesn't look like it is. Adding this method remove that ability from NHibernate because - /// we would be limiting a Session to one Active Transaction at a time. This is all necessary because when creating - /// an IDbCommand object you need to tell it the IDbTransaction to use. There is no property of the - /// IDbConnection object that gives you the current IDbTransaction. - /// </remarks> /// <exception cref="HibernateException">There was no Active IDbTransaction for this Session</exception> /// TODO: DESIGNQUESTION: We might have it return null to indicate there is no Transaction for this Session --- 455,458 ---- *************** *** 467,471 **** /// of error checking... ITransaction Transaction {get;} - /// <summary> --- 460,463 ---- |