How to split an entity between two different kernel data models

I am wondering how to split an entity between two different kernel data models?

For example, I have a Universe model that describes " WorldData strong>" with its " CountryData strong>". And in the other hand, I have a Population model that describes HumanData strong> with its CountryData strong>.

I definitely want my models to be separated.

Thanks in advance.

+4
source share
1 answer

Have you checked the Master Data Guide ? Managing relationships between objects is pretty simple.

If you want to manage the relationships between the objects of the Universe and the objects of the Population , you must describe them in the same model. I can’t think about the benefits of placing two related objects in different Core Data Models.

0
source

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


All Articles