• 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
Re: Added attributes to entity -> Moved values: Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Added attributes to entity -> Moved values: Why? (From: Stefan <email@hidden>)
 >Re: Added attributes to entity -> Moved values: Why? (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: Glossy bar at bottom of Mail and NetNewsWire
  • Next by Date: Re: Glossy bar at bottom of Mail and NetNewsWire
  • Previous by thread: Re: Added attributes to entity -> Moved values: Why?
  • Next by thread: NSPopupButtonCell bindings issues
  • Index(es):
    • Date
    • Thread