Describe the suggested improvement
Currently with the TransactionalSession we can open a transaction and then have access to the SyncronizedStorageSession where we can get the ISession.
In a scenario with dependency Injection where we might need it or not, in order to have access to the ISession we currently need to open the transaction. We should be allowed to have access to the SyncronizedStorageSession even if we don't open a TransactionSession.
I understand this was implemented like this, I guess the feature wants to prevent NHibernate transactions to be created outside of the scope of the TransactionalSession context, but this should be the responsibility of the developer.
Don´t know if this should be created here or in the TransactionalSession repository.
Additional Context
No response