The relation between account and contact is lookup relationship. But it act as master detail like when u delete a account it delete the the related contacts also. Beacuse this relationship has a property called CascadeDelete set to true. This is why the contact is deleted when the parent object is deleted.
The relationship between Accounts and Contacts is not Master
Detail Relationship its actually look up relationship. in master detail relationship we can create a rollup summery but we cant create a roll up summery in the Accounts object on to contacts. so its clearly says that it is not aMaster detail relationship
Account and contact is having One to Many relationship.(1 : n)
i.e 1 Account can have multiple Contact, which will act as Master Detail relationship, where Account is Master & Contact is Detail,
So If you delete any of the Parent Account its all child Contacts also get deleted.
If this solves your problem, kindly mark it as the best answer.
Thanks,
Vatsal
The relation between account and contact is lookup relationship.
But it act as master detail like when u delete a account it delete the the related contacts also.
Beacuse this relationship has a property called CascadeDelete set to true.
This is why the contact is deleted when the parent object is deleted.
Thanks
Anil.B
HI
Vatsal
Thanks for your reply
The relationship between Accounts and Contacts is not Master
Detail Relationship its actually look up relationship. in master detail relationship we can create a rollup summery but we cant create a roll up summery in the Accounts object on to contacts.
so its clearly says that it is not aMaster detail relationship