Hello,
I have an entity collection with 3 entities inside it.
When I issue a .Remove(entity) on that collection, I am receiving an exception:
Message
The remove failed, as List<T>.Remove returned false
Source
A first chance exception of type 'SD.LLBLGen.Pro.ORMSupportClasses.ORMGeneralOperationException' occurred in SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll
StackTrace
at SD.LLBLGen.Pro.ORMSupportClasses.CollectionCore`1.Remove(T item)\r\n
....
.... application level
I was able to export the collection and entity that was being deleted out to xml and recreate the issue through a reconsititution of the serialized objects.
Checking the object ID of the entities in the collection, and the object id of the entity being deleted, the object id exists in the collection:
? entity.ObjectID
{ac486595-8881-4f58-ac02-0a5f2284b5b4}
? collection[0].ObjectID
{173da0ec-5fd5-4057-8b29-7e5f0209bbe6}
? collection[1].ObjectID
{ac486595-8881-4f58-ac02-0a5f2284b5b4}
Any thoughts on why this entity cannot be deleted?
Thanks.
Can1