Re: Entity / Attributes / Import
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.