Re: Creating a EOModel in code
Re: Creating a EOModel in code
- Subject: Re: Creating a EOModel in code
- From: Jesse Tayler via Webobjects-dev <email@hidden>
- Date: Thu, 25 Jun 2020 21:32:40 -0400
You can generate your model based on your data-schema. I think that’s what you
want, but you can also create entities in memory and relate them by hand but
I’m not sure how that would result in a model file if that’s your goal.
> On Jun 25, 2020, at 8:53 PM, Don Lindsay via Webobjects-dev
> <email@hidden> wrote:
>
> Hello;
>
> The Documentation for EOModel states that you can build one in code, but
> there are no examples or further information that I can find. Does anyone
> have any documentation or samples that they can direct me to so I can create
> EOModels while the application is running:
>
> What I want to do is connect to a database that my app does not know about,
> someone provides connection parameters and I create an EOModel and connect to
> that database or rest and access it using the EOModel created using new
> EOModel().
>
> Thanks
>
> Don
> _______________________________________________
> 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
_______________________________________________
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