/// <summary> /// constructor /// </summary> /// <param name="uowFactory">Factory of UnitOfWork</param> /// <param name="session">NHibernate session</param> /// <param name="previous">Previos UnitOfWork</param> public NHUnitOfWorkAdapter(IUnitOfWorkFactory uowFactory, ISession session, NHUnitOfWorkAdapter previous) { uowFactory.ShouldNotBeNull("uowFactory"); session.ShouldNotBeNull("session"); _factory = uowFactory; _session = session; _previous = previous; if(IsDebugEnabled) log.Debug("IUnitOfWork의 기본 Class인 NHUnitOfWorkAdapter의 인스턴스가 생성되었습니다."); }
/// <summary> /// constructor /// </summary> /// <param name="uowFactory">Factory of UnitOfWork</param> /// <param name="session">NHibernate session</param> /// <param name="previous">Previos UnitOfWork</param> public NHUnitOfWorkAdapter(IUnitOfWorkFactory uowFactory, ISession session, NHUnitOfWorkAdapter previous) { uowFactory.ShouldNotBeNull("uowFactory"); session.ShouldNotBeNull("session"); _factory = uowFactory; _session = session; _previous = previous; if (IsDebugEnabled) { log.Debug("IUnitOfWork의 기본 Class인 NHUnitOfWorkAdapter의 인스턴스가 생성되었습니다."); } }