Hi all,
I have a wcf data service wired up to an EF4 entity model. As part of the saving of one of my entities, I want to run some custom logic.
To do this I've used a change interceptor which calls out to custom logic prior to the entity being persisted to the database. The problem however, is that some of my logic requires the entity id of the object being saved, which, if the operation is an insert, hasn't been generated yet.
So the question is, how do I run custom logic from my WCF data service, after the entity has been persisted to the database?
Thanks in advance for any replies
Ryan