How to set the power of an entity relationship in Xcode4?

Evenings

I use Xcode4 to model my objects, but I canโ€™t understand how to change the power of relations, so by default all relations are from 1 to 1. Someone will tell you how to change it, please :)

+4
source share
1 answer

Do you see a straight line with one arrow? This is 1: 1 already and by default.

To set 1: a lot, one way is to select a connection and in the right view pane (you may need to enable it by clicking the right button in the view section of the toolbar) select the right-most of the three icons at the top. You should see some options in the Relationships section, including Pluralism (maybe Cardinality was too long).

+1
source

Source: https://habr.com/ru/post/1335478/


All Articles