This question is locked. New answers and comments are not allowed.
Hey Guys,
I just updated to 2014.2.711.1, and it appears that the context.Events.Changing/ed events do not work as they did previously. If a property is not accessed before it is changed, then the OldValue property in the ChangeEventArgs will be null and marked not loaded.
I was able to work around this by using the changing event instead, and then using reflection to get the old value, but is there a better option I am missing? Is this a bug, or the expected behavior?
Thanks!
-Josh
I just updated to 2014.2.711.1, and it appears that the context.Events.Changing/ed events do not work as they did previously. If a property is not accessed before it is changed, then the OldValue property in the ChangeEventArgs will be null and marked not loaded.
I was able to work around this by using the changing event instead, and then using reflection to get the old value, but is there a better option I am missing? Is this a bug, or the expected behavior?
Thanks!
-Josh