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 protected]> 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 protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
