• 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: Core Data question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data question


  • Subject: Re: Core Data question
  • From: Negm-Awad Amin <email@hidden>
  • Date: Fri, 8 Aug 2008 20:41:07 +0200


Am Fr,08.08.2008 um 18:29 schrieb Chris Hanson:

On Aug 6, 2008, at 12:31 PM, Sandro Noel wrote:

I have entities like this.

TransactionTypes
	Atributes : Name:String
	Relationships: Transaction

Transactions
	Atributes: Amount:Double, Date:Date, Memo:String, Payee:String
	Relationships: TransactionType

You should name your entities in the singular, as if you were naming classes, and you should name the properties (attributes & relationships) of your entities starting with a lower-case letter as if you were naming the properties of a class.
That is definetly correct, but if Apple would start call it an entity- type instead of using the term entity, less people would become confused. ;-)



[…]


Amin Negm-Awad
email@hidden




_______________________________________________

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: Core Data question
      • From: Sandro Noel <email@hidden>
    • Re: Core Data question
      • From: Sandro Noel <email@hidden>
References: 
 >Core Data question (From: Sandro Noel <email@hidden>)
 >Re: Core Data question (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: CGImageSourceCreateFromURL failed with error -11
  • Next by Date: Re: autorelease CGImageRef?
  • Previous by thread: Re: Core Data question
  • Next by thread: Re: Core Data question
  • Index(es):
    • Date
    • Thread