Cascading Rules
![]() |
[Applies to: Microsoft Dynamics CRM 4.0]
In Microsoft Dynamics CRM you can control how certain actions on a parent record affect child records. The actions that have cascading behavior are as follows:
- Assign
- Delete
- Merge
- Reparent
- Share
- Unshare
The cascading rules are described in the following table.
| Rule | Description |
| Cascade All | Perform the action on the specified entity instance and all related entity instances. |
| Cascade None | Perform the action on the specified entity instance only. Do not cascade to related entity instances. |
| Cascade Active | Perform the action on the specified entity instance and all related entity instances that are active or open. |
| Cascade User Owned | Perform the action on the specified entity instance and all related entity instances that are owned by the same user as this entity. |
| Remove Link | Perform the action on the specified entity instance and remove the link to the related entity instance. No changes are made to the related entity instance. |
| Restrict | Applies to delete only. The delete is not allowed if there are other entity instances that reference the ID of the entity instance being deleted. |
These relationship types are represented by the following properties in the relationship metadata:
OneToManyMetadata.CascadeAssign
OneToManyMetadata.CascadeDelete
OneToManyMetadata.CascadeMerge
OneToManyMetadata.CascadeReparent
OneToManyMetadata.CascadeShare
OneToManyMetadata.CascadeUnshare
See Also
Concepts
Reference
Other Resources
- General Information about Entities
- Blog: Understand cascading entity relationship behavior and the Customer virtual entity
© 2010 Microsoft Corporation. All rights reserved.
