CascadeType 枚举
应用到: CRM 2015 on-prem, CRM Online
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. |
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
Microsoft.Xrm.Sdk.Metadata 命名空间
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.