• 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: Why is it wrong to have relationships without an inverse in Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is it wrong to have relationships without an inverse in Core Data?


  • Subject: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 22 Jun 2013 07:37:24 -0700

On Jun 22, 2013, at 12:55 AM, Rick Mann <email@hidden> wrote:

>
> On Jun 22, 2013, at 00:50 , Keith J. Schultz <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Why is it wrong to have relationships without an inverse in Core Data?
      • From: Timothy Reaves <email@hidden>
    • Re: Why is it wrong to have relationships without an inverse in Core Data?
      • From: Michael Crawford <email@hidden>
References: 
 >Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Kyle Sluder <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Next by Date: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Previous by thread: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Next by thread: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Index(es):
    • Date
    • Thread