I've got a problem with updating one of my entity, which has joint primary key (two columns with long datatype].
If I'll change just only one non-primary column value on entity and then save…
At first I call context.SubmitAndLogChanges
Next steps are gained from call stack and .net reflector:
1. it goes through entity column setter in entity.generated.cs under rlinq
2. it will get into KeyStateManger.StateManager.SetField<long>(PersistenceCapable pc, int field, T currentValue, T newValue)
3. then it will get into KeyStateManager.StoreValue(int key, object v)
4. and finally KV SetValue(int key) is reached where it will run in neverending
loop, maybe due to key value is not equal to values.slot.
KV values =
(values.slot == key)
slot = key
.values = values;
My other entities will not reach this part of code during the save operation.
I suppose the entity, which causes the problem has OpenAccessEnhancedStateManager != null instead of my other entities. But I don't know why.
StateManager openAccessEnhancedStateManager = owner.OpenAccessEnhancedStateManager;
>(owner, 2 + OpenAccessEnhancedInheritedFieldCount, owner._PRUCHOD_KON, value);
owner._PRUCHOD_KON = value;
Telerik.OpenAccess.Ria.Extensions - version 2012.3.1012.1
Could you please help me with this issue?