This question is locked. New answers and comments are not allowed.
Hi.
OA supports persistence by reachability, which is great. However, I found out that tracking does not work properly (or at least as I expected) when adding objects.
Example:
If i add a persistent object A with a reference to persistent object B to an object scope and commit transaction, both A and B are stored in the database, great! But only object A fires the ITracking.Added event.
Arguably, this may be correct behaviour since object B was never actually added to the object scope, but still it was added to the datastore by "reachability", and tracking should be able to pick this up, no?
Enyhow, this is very important, since i need to know (for audit and synchronization) which objects have been added to the datastore.
Please, please, please, tell me I'm right?!
Best Regards
Pål Økern
OA supports persistence by reachability, which is great. However, I found out that tracking does not work properly (or at least as I expected) when adding objects.
Example:
If i add a persistent object A with a reference to persistent object B to an object scope and commit transaction, both A and B are stored in the database, great! But only object A fires the ITracking.Added event.
Arguably, this may be correct behaviour since object B was never actually added to the object scope, but still it was added to the datastore by "reachability", and tracking should be able to pick this up, no?
Enyhow, this is very important, since i need to know (for audit and synchronization) which objects have been added to the datastore.
Please, please, please, tell me I'm right?!
Best Regards
Pål Økern