using version 1.0.2005.1 adapter
Hi Guys, I have a problem I hope someone can shed some light on.
Say I have an Entity called ProductEntity which contains an Entity called StatusEntity and both are aware of each other through the relationship:
ProductEntity * <--> 1 StatusEntity
I find that when I set the ProductEntity.StatusEntity to a new value, then set it back to the old value, then set it back to another new value, ProductEntity.StatusEntity would become NULL. So for Example,
ProductEntity.StatusEntity = activeStatusEntity; // ProductEntity.StatusEntity == Active
ProductEntity.StatusEntity = inactiveStatusEntity; // ProductEntity.StatusEntity == Inactive
ProductEntity.StatusEntity = activeStatusEntity; // ProductEntity.StatusEntity == Active
ProductEntity.StatusEntity = inactiveStatusEntity; // ProductEntity.StatusEntity == NULL
both activateStatusEntity and inactiveStatusEntity come from the same EntityCollection.
Is this by design? why does this happen and how can I get around it? Thanks.