In this post, we will see how to establish Parent-Child relations using Map in Salesforce. By this method, you can easily find all the child values its sizes etc that is associated with its Parent record. 

After that, we will also see the small example where there is a Trigger on contact and which will give the size of Contact on Account object.




Example For Roll-Up Summary using Above Relation