The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.

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.v19.1.dll

Declaration

public class DifferentObjectsWithSameKeyException : Exception
Public Class DifferentObjectsWithSameKeyException
    Inherits Exception
public class DifferentObjectsWithSameKeyException : Exception
Public Class DifferentObjectsWithSameKeyException
    Inherits 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