Skip to main content

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.v24.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