• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to uninsert an EO from EC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to uninsert an EO from EC?


  • Subject: How to uninsert an EO from EC?
  • From: Marek Wawrzyczny <email@hidden>
  • Date: Thu, 28 Oct 2004 12:25:39 +1000

Hi,

How does one correctly remove/forget/discard/kill/obliterate a new, uncommitted EO from an editing context? The EOEditingContext methods seem to be designed for EOs that have already been committed to the database.

I have never been able to find the correct way to do this without resorting to a combination of calls to EC forgetObject(...) and deleteObject(...), removal of any references through relationships, etc... and every now and then end up creating the EO with nulled relationships anyway in the database when saving the ec.

It all seems like a bit of black magic to me.


Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
http://www.ish.com.au
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400   fax +61 2 9660 7400

_______________________________________________
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


  • Follow-Ups:
    • Re: How to uninsert an EO from EC?
      • From: Ben Trumbull <email@hidden>
    • Re: How to uninsert an EO from EC?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: NSDictionary and WOPopup Question
  • Next by Date: Re: How to uninsert an EO from EC?
  • Previous by thread: Re: NSDictionary and WOPopup Question
  • Next by thread: Re: How to uninsert an EO from EC?
  • Index(es):
    • Date
    • Thread