Re: Creating a EOModel in code

2020-06-28 Thread Matthew Ness via Webobjects-dev
Hi Don et al, I have written code before which dynamically creates EOEntities and relationships based on external data (both database interrogation or resource files), mainly to solve an abstraction workflow at a lower level than normal. Both using the default EOModelGroup and custom groups.

Re: Creating a EOModel in code

2020-06-28 Thread Jesse Tayler via Webobjects-dev
Nothing stops you from connecting to the database however you’d like. I can’t quite imagine what scenario a user would enter the full connection dictionary or how an app would then connect to a database that is somehow ‘unknown’ or introduced by the user, so maybe it’s just hard for folks to

Re: Creating a EOModel in code

2020-06-28 Thread Don Lindsay via Webobjects-dev
Sorry if I was not clear in my first email. I don’t want to create a EOModel file. I want to take database connection properties from the user of an application and use those to build an EOModel that is used in the application while it is running on the server. The database connection