Update of /cvsroot/nhibernate/nhibernate/src/NHibernate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31747
Modified Files:
ITransaction.cs
Log Message:
Moved code for an IDbCommand to enlist in a Transaction to the
Transaction class.
Index: ITransaction.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/ITransaction.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ITransaction.cs 17 Feb 2003 18:16:13 -0000 1.1
--- ITransaction.cs 15 Sep 2004 03:17:46 -0000 1.2
***************
*** 1,3 ****
--- 1,4 ----
using System;
+ using System.Data;
namespace NHibernate {
***************
*** 43,46 ****
--- 44,55 ----
bool WasCommitted { get; }
+ /// <summary>
+ /// Enlist the <see cref="IDbCommand"/> in the current Transaction.
+ /// </summary>
+ /// <param name="command">The <see cref="IDbCommand"/> to enlist.</param>
+ /// <remarks>
+ /// It is okay for this to be a no op implementation.
+ /// </remarks>
+ void Enlist(IDbCommand command);
}
}
|