From: Kevin W. <kev...@us...> - 2004-12-31 19:54:04
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13068 Modified Files: ScheduledInsertion.cs Log Message: fixing xml comments and letting ReSharper do reformatting Index: ScheduledInsertion.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl/ScheduledInsertion.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ScheduledInsertion.cs 29 Nov 2004 04:45:51 -0000 1.4 --- ScheduledInsertion.cs 31 Dec 2004 19:53:54 -0000 1.5 *************** *** 1,16 **** - using System; - using NHibernate.Cache; using NHibernate.Engine; using NHibernate.Persister; ! namespace NHibernate.Impl { /// <summary> /// A scheduled insertion of an object. /// </summary> ! internal class ScheduledInsertion : ScheduledEntityAction { ! ! private readonly object[] _state; /// <summary> --- 1,13 ---- using NHibernate.Engine; using NHibernate.Persister; ! namespace NHibernate.Impl { /// <summary> /// A scheduled insertion of an object. /// </summary> ! internal class ScheduledInsertion : ScheduledEntityAction { ! private readonly object[ ] _state; /// <summary> *************** *** 22,41 **** /// <param name="persister">The <see cref="IClassPersister"/> that is responsible for the persisting the object.</param> /// <param name="session">The <see cref="ISessionImplementor"/> that the Action is occuring in.</param> ! public ScheduledInsertion(object id, object[] state, object instance, IClassPersister persister, ISessionImplementor session) ! : base(session, id, instance, persister) { _state = state; } ! public override void Execute() { ! Persister.Insert( Id, _state, Instance, Session); Session.PostInsert( Instance ); } ! public override void AfterTransactionCompletion() { // do nothing } } ! } --- 19,40 ---- /// <param name="persister">The <see cref="IClassPersister"/> that is responsible for the persisting the object.</param> /// <param name="session">The <see cref="ISessionImplementor"/> that the Action is occuring in.</param> ! public ScheduledInsertion( object id, object[ ] state, object instance, IClassPersister persister, ISessionImplementor session ) ! : base( session, id, instance, persister ) { _state = state; } ! /// <summary></summary> ! public override void Execute() { ! Persister.Insert( Id, _state, Instance, Session ); Session.PostInsert( Instance ); } ! /// <summary></summary> ! public override void AfterTransactionCompletion() { // do nothing } } ! } \ No newline at end of file |