I've looked in various online tutorials etc but I haven't found the
answer to this question: when I create a local instance of an EO in
a child context, how to do I conveniently cause the related EOs to
be brought along into the child EC? I'm assuming there must be a
method or standard way of doing this but I can't see it.
You don't need to do anything. The related objects will be faults
until you reference some data from them, at which point the fault will
be fired. As the fault is in an EC with a parent EC, the fault will
be resolved from the parent EC rather than the object store. If the
EO is not in the parent EC, then it will fall back to the object store
and then back to the DB if there is no snapshot in the object store.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden