protected StatelessUnitOfWorkBase(bool createTransaction, IStatelessSessionManager sessionManager) { _session = sessionManager.GetStatelessSession(); if (createTransaction) { Session.BeginTransaction(); _transactionStarted = true; } }