Oh, don't forget to call super.
On Dec 21, 2011, at 10:58 AM, Ramsey Gurley wrote:
> Looks legit, but what you are doing is done in ERCoreBusinessLogic with no
> modification to your EOs :-)
>
> Ramsey
>
> On Dec 21, 2011, at 10:48 AM, James Cicenia wrote:
>
>> Hello -
>>
>> I am thinking about doing this in my EOObject:
>>
>> public void willDelete(){
>> Deletes d = (Deletes)
>> EOUtilities.createAndInsertInstance(this.editingContext(), "Deletes");
>> d.setNameOfEntity(this.entityName());
>> d.setExt_id(this.primaryKey());
>>
>> }
>>
>> 1) Is this safe?
>> 2) do I need an explicit save here? Or will this be saved via the objects
>> current editing context?
>>
>> Thanks
>>
>> James
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>
>> This email sent to [email protected]
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]