Interface IEntityContextHolder


  • public interface IEntityContextHolder
    Wrapper for an IEntityContext that allows the context to be closed and opened again. Useful when you need to flush all changes to the database before proceeding with the test.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • get

        IEntityContext get()
        Returns:
        The current entity context held by this instance.
      • reopen

        void reopen()
        Closes the current context if open and opens a new entity context.