Поделиться через


CascadeType Enumeration

 

Applies To: Dynamics CRM 2015

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

[DataContractAttribute(Name = "CascadeType", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum CascadeType
[DataContractAttribute(Name = "CascadeType", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum class CascadeType
[<DataContractAttribute(Name = "CascadeType", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")>]
type CascadeType
<DataContractAttribute(Name := "CascadeType", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration 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.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright