Apple WebObjects 3.5 Bedienungsanleitung Seite 101

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 120
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 100
Refining Your Model
101
8. Click Connect.
EOModeler automatically renames the relationship based on the name
of the destination entity. For example, after connecting a to-many
relationship from Movie to MovieRole, EOModeler names the
relationship “movieRoles.” To-one relationships are named with the
singular form of the destination entity’s name. For example,
EOModeler names the inverse to-one relationship (from MovieRole to
Movie) “movie.”
If the wizard created your relationship and used a name other than
“movieRoles,” consider renaming the relationship. The rest of this
tutorial assumes that your relationships are named using EOModeler’s
naming convention.
9. Repeat the steps above to create the following relationships:
A to-one relationship named “movie” in the MovieRole entity where:
The destination entity is Movie.
The source attribute is
movieId.
The destination attribute is
movieId.
A to-one relationship named “talent” in the MovieRole entity where:
The destination entity is Talent.
The source attribute is
talentId.
The destination attribute is
talentId.
A to-many relationship named “movieRoles” in the Talent entity
where:
The destination entity is MovieRole.
The source attribute is
talentId.
The destination attribute is
talentId.
10. Choose in the toolbar pop-up list to switch the Model Editor to
Diagram View.
Use this pop-up list to switch to a different view.
Switches to Table View.
Switches to Diagram View.
Switches to Browser View.
Seitenansicht 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 119 120

Kommentare zu diesen Handbüchern

Keine Kommentare