Re: Deleting a lookup type object...
Re: Deleting a lookup type object...
- Subject: Re: Deleting a lookup type object...
- From: Chuck Hill <email@hidden>
- Date: Thu, 10 Nov 2005 18:21:52 -0500
On Nov 10, 2005, at 1:17 PM, James Cicenia wrote:
Hello -
What is the most efficient way of nullifying the back pointing
relationship from a lookup object?
For instance I have a table of potential callers. All tickets have
a ticketcaller object that references
a caller object. However, I don't have a to-many relationship back
to TicketCaller.
Do I have to do a fetch instead and then nullify? Or is there some
great EOUtilities method I am missing.
Fetch then nullify is the safe thing to do to keep the object graph
consistent (within that one instance/EOF stack). Otherwise, caring
not a whit about object graph consistency, check out the
EOAdaptorChannel method
public abstract int updateValuesInRowsDescribedByQualifier
(NSDictionary row,
EOQualifier qualifier,
EOEntity
entity)
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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