Re: making associations between eomodeler files
Re: making associations between eomodeler files
- Subject: Re: making associations between eomodeler files
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 19 Apr 2004 10:56:54 -0500
At 8:51 AM -0500 4/17/04, John Spicer wrote:
If several people are working on a project, each may have their own
eomodeler file.
I'm not sure what you mean. If several people are working on the
same project, I would highly encourage you to use CVS or another
similar system. If you are seperating things into models based on
which person is working on them, rather than based on actual design
goals---that's not a very good way to design it. But anyway, I
suppose that's up to you. But ideally the number of people working
on a project wouldn't effect the number of seperate models in a
project---I'm not sure why you think one follows from the other.
Is it possible to make associations between tables in different
files? I've not seen anything that says yes or no, or if yes, how
it's done.
You want to set a relationship from an entity in one model to an
entity in another model? You can indeed do that. In the EOModeler
relationship inspector where you pick the destination entity for the
relationship, there should be a popup box of 'models', which let's
you first pick an available model and then pick an entity in that
model. "Available" models should be: all models in the same project
as the model you are editing; all models in frameworks used by that
project. Sometimes you need to open the model in the right way to
get EOModeler to recognize other 'available' models---double click on
it from ProjectBuilder/XCode rather than opening it from EOModeler.
Sometimes if you've just created a new model, you need to close it
and re-open it like that in order to get the 'available' models to be
listed.
--Jonathan
_______________________________________________
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.