mhr wrote:
Btw. my original idea was to persist the delegate object itself. But after thinking a while about the problems I discarded the idea.
Well, thinking a little about the problem, the solution wopuld involve:
at the master side, you must:
1. Restore object from database
2. Recreate the delegate.
In order to restore object, You'll need object id (which might be composite id-s, if Your design allows them) and object (root)type.
To recreate the delegate, You'll also need to know the method... It should be trivial if You have method name (You can used reflection)
So, the only remaining issue is how to extract class name/object id and method name from the delegate in order to save required data..
Gert