DifferentObjectsWithSameKeyException Class
In This Article
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
NuGet Package: DevExpress.Xpo
#Declaration
#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.
See Also