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.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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.