hi i need to use coredata relations in my app. coredata relations is first tym for me. kindly guide me.
i need to have 2 entities "Products" and "reviews". for a single product there can be multiple reviews. i have 3 questions.
1) "product" entity is already containgin data. i need to add reviews to "reviews" entity later only. so how do i connect both the entities? the only thing common between both is the "product id".
2) if i delete a product how to delete all the reviews related to it from "reviews" entity.
3) can i delete the reviews without altering "products" entity
kindly help me. thanks in advance.