DeleteBehaviorAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
配置关系从属端的导航属性,以指示删除操作在删除或断开关系时如何应用于关系中的从属实体。
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class DeleteBehaviorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type DeleteBehaviorAttribute = class
inherit Attribute
Public NotInheritable Class DeleteBehaviorAttribute
Inherits Attribute
- 继承
-
DeleteBehaviorAttribute
- 特性
注解
有关详细信息和示例,请参阅 建模实体类型和关系 。
构造函数
| 名称 | 说明 |
|---|---|
| DeleteBehaviorAttribute(DeleteBehavior) |
初始化 DeleteBehaviorAttribute 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Behavior |
获取 DeleteBehavior 要配置的。 |