CascadeType CascadeType CascadeType 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
type CascadeType = 
Public Enum CascadeType
Inheritance
CascadeTypeCascadeTypeCascadeTypeCascadeType
Attributes

Fields

Active Active Active Active 2

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

Cascade Cascade Cascade Cascade 1

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

NoCascade NoCascade NoCascade 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 Restrict Restrict Restrict 5

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

UserOwned UserOwned UserOwned UserOwned 3

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

Applies to