The only way to do this is through migration:

http://devworld.apple.com/documentation/Cocoa/Conceptual/CoreDataVersioning/index.html

On 20 Jul 2009, at 21:33, Squ Aire wrote:


Using plain SQLite one can use alter table to add/remove table columns after the table has been created.

In the same (or not the same) way, is it somehow possible to dynamically add attributes to an entity? This would, among other things, involve that when a new attribute is added, all existing MOs (and their persistent counterparts; what are they called again?) will now respond properly to that new attribute. And when an attribute is removed, it gets gracefully deleted from all MOs (and their persistent counterparts; am I even using the correct words over here? I hope you get my point).
_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to cocoa...@mikeabdullah.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to