mercredi 29 janvier 2020

Accessing NHibernate ActionQueue to check the list of pending commands

I have some very basic code:

NHibernate.ISession session = doSomeStuffWithNHibernateSession();

Using the object inspector in the Visual Studio debugger, I am able to open the ActionQueue of the session object and list all the pending NHibernate commands.

Is there a way to access it programmatically ? Being able to access properties like InsertionCount or HasAnyQueuedAction would be enough.





Aucun commentaire:

Enregistrer un commentaire