This question is locked. New answers and comments are not allowed.
Greetings,
Is there any workaround for simulating PostStore functionality? Calling method before the transaction is commited to the database.
Does InitializeTransients with InitOperation.Hollow is called after saving the object ?
Is it intended PreStore to be called only when the entity is dirty?
If so is there a way to call entity method every time SaveChanges is invoked in the context of one transaction?
What is the earliest point after transaction is started where I can intercept the saving process?
There is InstanceLifecycleListener interface, which seems can handle save process interception. Can I attach it somewhere and if yes where?
Regards,
Daniel Tsviatkov
Is there any workaround for simulating PostStore functionality? Calling method before the transaction is commited to the database.
Does InitializeTransients with InitOperation.Hollow is called after saving the object ?
Is it intended PreStore to be called only when the entity is dirty?
If so is there a way to call entity method every time SaveChanges is invoked in the context of one transaction?
What is the earliest point after transaction is started where I can intercept the saving process?
There is InstanceLifecycleListener interface, which seems can handle save process interception. Can I attach it somewhere and if yes where?
Regards,
Daniel Tsviatkov