M
Mannie
How can I add a member field to an already existing class during runtime, or
rather: add some hidden value to an object dynamically during runtime?
I need this because I'm creating a simple OO database which needs references
to objects when updating. The value that I want to add on the fly is the
object id.
I know there are many examples using Reflection.Emit showing how to
dynamically create a new class and adding things to it, but that's not what
I want. I really need to use existing classes.
Thanks!
Manfred Suttorp
rather: add some hidden value to an object dynamically during runtime?
I need this because I'm creating a simple OO database which needs references
to objects when updating. The value that I want to add on the fly is the
object id.
I know there are many examples using Reflection.Emit showing how to
dynamically create a new class and adding things to it, but that's not what
I want. I really need to use existing classes.
Thanks!
Manfred Suttorp