Skip to main content
A newer version of this page is available. .

DifferentObjectsWithSameKeyException Class

An exception that is thrown when two objects within the current session have the same key.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public class DifferentObjectsWithSameKeyException :
    Exception

Remarks

Objects must have unique key values. This exception is thrown when the current session have two objects with the same key values.

Solution:

- check your code that modifies object key values.

Inheritance

Object
Exception
DifferentObjectsWithSameKeyException
See Also