CascadeType 列舉
Describes the type of behavior for a specific action applied to the referenced entity in a one-to-many entity relationship.
命名空間: Microsoft.Xrm.Sdk.Metadata
組件: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
語法
'宣告
<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
成員
成員名稱 | 描述 |
---|---|
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. |
平台
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008、Windows Server 2012、Windows 7
請參閱
參照
Microsoft.Xrm.Sdk.Metadata 命名空間
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.