• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Entity Modeler, how to create a many to many
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Entity Modeler, how to create a many to many


  • Subject: Re: [OT] Entity Modeler, how to create a many to many
  • From: Dev WO <email@hidden>
  • Date: Sat, 6 Jan 2007 16:14:18 +0100

Thanks a lot Mike,
it's just perfect:)

Have a nice week end

Xavier



And your recall would be right :)

Actually, the latest builds have a much fancier relationship dialog, so you might want to upgrade to get all the relationshippy goodness if you haven't already.

If you select two entities in the entity tree (outline view), you can then click the "New Relationship" action and it will bring up the New Relationship Dialog. I love the new versions of this because it even has an option to add the foreign key attribute for you, too, for non-many-to-many's (though I don't recall what it does if you don't use Project Wonder -- it uses prototype 'id' when you have Project Wonder).

In the dialog, you can select which sides (or both) of the relationship are to-many, you can name the relationships, you can optionally have it create a foreign key attribute for one-to-many (single foreign key), or you can select the join attributes.

ms

On Jan 6, 2007, at 3:37 AM, Dev WO wrote:

Hello,
I've been trying to work with Eclipse/WOProject for my latest project, and it seems I can make it:)


But actually I'm stick on something which might be obvious: creating a many to many relationship in Entity Modeler.

I used to have to select the 2 entities in EOModeler and do "join in many to many", but I can't find where's that feature in Entity Modeler...
I know I could create the join table, etc but I think I recall a demo of EM at WWDC by Mike Schrag doing something like this...but maybe I'm wrong.


Could someone tell me how to make a many to many using Entity Modeler:)

Thanks

Xavier

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


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:
40anazys.com


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
References: 
 >[OT] Entity Modeler, how to create a many to many (From: Dev WO <email@hidden>)
 >Re: [OT] Entity Modeler, how to create a many to many (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: [OT] Entity Modeler, how to create a many to many
  • Next by Date: EOSQLExpression's formatValueForAttribute()
  • Previous by thread: Re: [OT] Entity Modeler, how to create a many to many
  • Next by thread: Re: [OT] Entity Modeler, how to create a many to many
  • Index(es):
    • Date
    • Thread