CascadeType Enum

Definition

Describes the type of behavior for a specific action applied to the referenced entity in a one-to-many entity relationship.

For the Web API use the CascadeType EnumType.

public enum class CascadeType
[System.Runtime.Serialization.DataContract(Name="CascadeType", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum CascadeType
[<System.Runtime.Serialization.DataContract(Name="CascadeType", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type CascadeType = 
Public Enum CascadeType
Inheritance
CascadeType
Attributes

Fields

Active 2

Perform the action on all active referencing entity records associated with the referenced entity record. Value = 2.

Cascade 1

Perform the action on all referencing entity records associated with the referenced entity record. Value = 1.

NoCascade 0

Do nothing. Value = 0.

4

Remove the value of the referencing attribute for all referencing entity records associated with the referenced entity record. Value = 4.

Restrict 5

Prevent the Referenced entity record from being deleted when referencing entities exist. Value = 5.

UserOwned 3

Perform the action on all referencing entity records owned by the same user as the referenced entity record. Value = 3.

Applies to