Must an EOEnterpriseObject be inserted into EOEditingContext to use?
Must an EOEnterpriseObject be inserted into EOEditingContext to use?
- Subject: Must an EOEnterpriseObject be inserted into EOEditingContext to use?
- From: Tom Woteki <email@hidden>
- Date: Fri, 19 Sep 2003 13:05:07 -0400
Various WO documentation cautions that an EO should/must be inserted
into an editing context before it is used. On the other hand I have
seen code, which I am now using, that creates an EO using
EOClassDescription.createInstanceWithEditingContext(null, null) then
manipulates and validates it before inserting into an editing context
and everything seems to work just fine.
Can anyone clarify the guidance for me? Is the contrary practice
described above ill advised, and if so why?
TIA,
Tom
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.