Getting "An entity with the same identity already exists in this EntitySet" but the EntitySet is emp

Posted by digiduck on Stack Overflow See other posts from Stack Overflow or by digiduck
Published on 2010-05-11T20:34:45Z Indexed on 2010/05/12 6:14 UTC
Read the original article Hit count: 911

When I try to add a new item to my EntitySet, I'm getting this exception:

An entity with the same identity already exists in this EntitySet

However, when I inspect the EntitySet its count is 0.

Any ideas why I would be getting this error when the set is empty? How could an entity already exist in the set if the set has no items in it?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about silverlight-4.0