I found a strange Changetracker behavior.
If i load an entity from db and check the 3 values (Original,Current,Database) all seems to be ok.
currentvalue = database value (original)
originalvalue = database value (original)
databasevalue = database value (original)
But if i add a UpdateMethod in a Property Setter which updates an other property and the UpdateMethod result differ from the database value then
currentvalue = changed UpdateMethod value
originalvalue = changed UpdateMethod value
databasevalue = database value (original)
Is there something i can do that the originalvalue is the databasevalue and not the value from the dependancy update?
If i load an entity from db and check the 3 values (Original,Current,Database) all seems to be ok.
currentvalue = database value (original)
originalvalue = database value (original)
databasevalue = database value (original)
But if i add a UpdateMethod in a Property Setter which updates an other property and the UpdateMethod result differ from the database value then
currentvalue = changed UpdateMethod value
originalvalue = changed UpdateMethod value
databasevalue = database value (original)
Is there something i can do that the originalvalue is the databasevalue and not the value from the dependancy update?