On Jun 22, 2013, at 12:55 AM, Rick Mann <rm...@latencyzero.com> wrote:

> 
> On Jun 22, 2013, at 00:50 , Keith J. Schultz <schul...@uni-trier.de> wrote:
> 
>> Core data helps in setting up the database, but deleting is another matter.
>> You should do that manually for consistency. Core Data has no knowledge of 
>> the 
>> semantics of your database. so use prepareToDelete.

I'm sorry, but what?

1. Core Data is NOT a database. It is NOT an ORM. Core Data is a model object 
persistence and management framework. It just so happens that it can use a 
SQLite database as a storage backend. It can also use XML.

2. Core Data very well does understand the semantics of your data model. That's 
what the data model _is_. Core Data is not somehow crippled in understanding 
deletions. It even has deletion propagation and validation.

Seriously, if you're gonna knock on Core Data (for which there is PLENTY to 
knock on), at least come up with valid criticisms.

--Kyle Sluder

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to