Re: didInsert not called
Re: didInsert not called
- Subject: Re: didInsert not called
- From: David LeBer <email@hidden>
- Date: Wed, 18 Mar 2009 20:47:51 -0400
On 18-Mar-09, at 8:25 PM, Johnny Miller wrote:
OK,
That was my mistake - I was using a regular EOEditingContext.
However, I now have a new issue >:)
At what point during the delete process can you access a
relationship before it gets nullified?
I'm trying to grab it at canDelete and at validateForDelete but the
relationship has already been nullified.
Thanks in advance,
mightDelete();
<http://webobjects.mdimension.com/wonder/api/er/extensions/eof/ERXGenericRecord.html#mightDelete()
>
public void mightDelete()
Description copied from interface: ERXEnterpriseObjectCalled as part
of the augmented transaction process. This method is called when
deleteObject() is called on the editing context. The benefit over
willDelete() is that in this method, the relationships are still
intact. Mostly, at least, as it's also called when the deletes
cascade.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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