Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why create related CMPs?

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I know that when we create related CMPs it puts those methods returning Collection in one side in 1-to-N relation and etc things but I am trying to come up with more convincing reasons for need of related CMPs. Here are my thoughts so far,
1. when we create related CMPs it inserts relationship management methods automatically which could help programmers to "not worry about" foreign key constraints etc...
more input?
Regards
Maulin
 
Sergiu Truta
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Having CMR and the container to handle relationships is a great ease for a developer. I think this is enough as a reason for using relationships in CMP .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic