• 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: Entity / Attributes / Import
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entity / Attributes / Import


  • Subject: Re: Entity / Attributes / Import
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 12 May 2004 16:13:11 -0700

Take a look at some of the methods in EOUtilities for some easy accessors for groups,models, and entities. Also see methods in EOEnterpriseObject. Otherwise you have to use the lower level methods from classes in EOAccess: EOEntityClassDescription, EOModelGroup, EOModel, EOEntity, EOAttribute, and EORelationship

Chuck


On May 12, 2004, at 1:19 PM, James Cicenia wrote:

Hello -

Is there a simple way I can query the keys of my model to see if it exists?
Or, should I just trap for a bad key in takeValueForKey by putting it into a
try/catch block?


I am trying to import files via an upload into our database and was trying
to make it flexible enough where the first row of the file are the keys in the
database. If the key doesn't exist I will just error it out and back to the user.


-James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Entity / Attributes / Import (From: James Cicenia <email@hidden>)

  • Prev by Date: Version of JDK for Windows XP?
  • Next by Date: Re: Storefront Software
  • Previous by thread: Re: Entity / Attributes / Import
  • Next by thread: Storefront Software
  • Index(es):
    • Date
    • Thread