CascadeType Enumeration
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Describes the type of behavior for a specific action applied to the referenced entity in a one-to-many entity relationship.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
<DataContractAttribute(Name:="CascadeType", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration CascadeType
[DataContractAttribute(Name="CascadeType", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum CascadeType
Members
Member name | Description |
---|---|
Active | Perform the action on all active referencing entity records associated with the referenced entity record. Value = 2. |
Cascade | Perform the action on all referencing entity records associated with the referenced entity record. Value = 1. |
NoCascade | Do nothing. Value = 0. |
RemoveLink | Remove the value of the referencing attribute for all referencing entity records associated with the referenced entity record. Value = 4. |
Restrict | Prevent the Referenced entity record from being deleted when referencing entities exist. Value = 5. |
UserOwned | Perform the action on all referencing entity records owned by the same user as the referenced entity record. Value = 3. |
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
Microsoft.Xrm.Sdk.Metadata Namespace
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.