Re: Creating an EOEditingContext object
Re: Creating an EOEditingContext object
- Subject: Re: Creating an EOEditingContext object
- From: Ismael Nass-Duce <email@hidden>
- Date: Sun, 25 Apr 2004 20:23:39 -0700
Please ignore this question. Problem resolved.
NOTE: Made a typing mistake, but didn't realize that.
So I ended up going in the wrong direction.
Thanks Chuck for pointing out the problem.
Ismael
On Apr 25, 2004, at 7:11 PM, Ismael Nass-Duce wrote:
> Hi,
>
> How can I create an EOEditingContext object that I can use to
> access records from a database.
>
> I created a WebObjects application, which uses the same EO model
> that I used for WebObjects Java Client.
>
> I want to use the objectsWithFetchSpecification() or
> EOUtilities.objectsForEntityNamed()
> methods to fetch objects from the database.
>
> From what I can gather, I'll need to do the following:
>
> >| - construct a model from a file
> >| - create a EODatabase from that model
> >| - create an EOQualifier with format
> >| - create an EOFetchSpecification with entity
> >| - retrieve an EOEditingContext from EODatabase
>
> Is there sample code that applies these steps?
>
> Ismael
_______________________________________________
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.