Hello all,
I am learning Core Data so I was confused about the following.
I need to know how the relationships worked in the inherited scenario.
I have a data model with Entities Zoo, Animal , Dog, Lion.
Dog and Lion have Animal as the parent Entity.
Now Zoo has one to many relationship to animal.
I want to know if Zoo will need to have one to many relationship to animal or it need to have to one to many relationship to Dog and Lion. Will the inheritance work in this case or not. Like in future if I add Tiger, Do I need to add that in Zoo relationship or it will work just fine once I inherit Tiger from Animal.