Arc.Infrastructure.Data.NHibernate.UnitOfWorkFactory.CreateAndRegisterNewSession C# (CSharp) Method

CreateAndRegisterNewSession() private method

private CreateAndRegisterNewSession ( ) : ISession
return ISession
        private ISession CreateAndRegisterNewSession()
        {
            var session = _factory.OpenSession();
            _registry.Register(SessionKey, session);
            return session;
        }