• 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: Wonder PK id in the EOModel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder PK id in the EOModel


  • Subject: Re: Wonder PK id in the EOModel
  • From: Gustavo Pizano <email@hidden>
  • Date: Thu, 20 Mar 2008 18:23:04 -0500


On Mar 20, 2008, at 4:53 PM, David LeBer wrote:


On 20-Mar-08, at 5:35 PM, Gustavo Pizano wrote:

Well I started to create the EOModel and the questions began to arise.

I c that Wonder gives me an id as Pk, but in the model I have te follwoing, something similar to what David showed in the screencast

(Using the folloing names just to follow the project statement)
Table : Person
Atributes: document
		  phone
		  address

so if there is and id as PK, shouldnt I put the document as PK as well? to avoid data repetitions?

I'm not sure I understand you Gus.

If you have:

	Entity: Person			Table: Person
		id (marked as pk)	-->		id (defined as primary key)

Then id should uniquely identify a Person in the database. No need to make a compound primary key.

maybe id == document... just im using the wrong name as im following the data I was given adn the attributes names


Gus




Is  that what you are asking?

;david


--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Wonder PK id in the EOModel (From: Gustavo Pizano <email@hidden>)
 >Re: Wonder PK id in the EOModel (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Wonder PK id in the EOModel
  • Next by Date: Re: MySQL JDBC Connect Error
  • Previous by thread: Re: Wonder PK id in the EOModel
  • Next by thread: Re: Wonder PK id in the EOModel
  • Index(es):
    • Date
    • Thread