Re: How do I programmatically access multiple data models within XCode 2.1?
Re: How do I programmatically access multiple data models within XCode 2.1?
- Subject: Re: How do I programmatically access multiple data models within XCode 2.1?
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 5 Nov 2005 10:43:44 -0800
On Nov 5, 2005, at 10:26 AM, Frederick C. Lee wrote:
I've been following data modeling examples. But I would like to
access separate data models with their respective stores. How is
that done?
It's not clear what you mean -- you seem(?) to be confusing "model"
with "managed objects".
If you have multiple stores associated with a given persistent store
coordinator, then a fetch request retrieves managed objects from all
the stores as appropriate. If you want to retrieve managed objects
from a specific store, then you send the request a setAffectedStores:
message.
And, what is 'mergedModel' - from bundle? Does this mean combining
all data models within the main bundle?
See <http://developer.apple.com/documentation/Cocoa/Conceptual/
CoreData/Articles/cdMOM.html#//apple_ref/doc/uid/TP40002328-SW8>.
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