Re: Added attributes to entity -> Moved values: Why?
Re: Added attributes to entity -> Moved values: Why?
- Subject: Re: Added attributes to entity -> Moved values: Why?
- From: Stefan <email@hidden>
- Date: Thu, 17 Aug 2006 00:10:52 +0200
Am 17.08.2006 um 00:07 schrieb mmalc crawford:
On Aug 16, 2006, at 2:30 PM, Stefan wrote:
After I added attributes to an entity, the values of existing
attributes of
instanced entities moved to other attributes after a 'save-old -
load new'
cycle.
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdVersioning.html#//apple_ref/doc/uid/TP40002989>
Thx! Is this the important detail:
>>>
If all you do to a model is to add new entities and attributes, then
you can generally use a new model to open an XML store created using
an old model. Given that changing stores is typically the matter of
swapping a constant (although be aware of some differences between
stores—see “Persistent Stores”), using the XML store during
development and a different store (binary or SQLite) for final
testing and deployment is quite viable.
<<<
In other words: XML maps by names, while SQL and binary map by
position (or some
other way)? _______________________________________________
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