SessionMixingException Class

An exception that is thrown when a persistent object that belongs to a specific session is used within another session or refers to an object from another session.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public class SessionMixingException :
    Exception
Public Class SessionMixingException
    Inherits Exception

Remarks

A persistent object can refer to another object if it belongs to the same session. Also an object can be used only within a session that it belongs to. If any of these rules are violated a SessionMixingException exception will be thrown.

Solution:

- ensure that your code meets the rules described above.

Inheritance

See Also