Re: CoreData: How to do Transient Entities?
Re: CoreData: How to do Transient Entities?
- Subject: Re: CoreData: How to do Transient Entities?
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 20 May 2005 01:50:55 -0700
On May 20, 2005, at 1:46 AM, Lee Morgan wrote:
Any advice on how to go about making a select few entities
transient?
Prior to saving, fetch the instances of the unwanted entity, and
delete them.
Thats what I was thinking I would have to do... Considering their
ALL of the same two entities, this shouldn't be that hard of a task.
Should I keep an array around of the NSManagedObjects that I wish
to delete before saving?
That's likely to give you a complex maintenance burden, especially
compared with...
Or is there an easy way to get every managed object of a specific
entity?
... simply execute a fetch request with no predicate.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden