语言

DeleteBehaviorAttribute 类

定义

配置关系从属端的导航属性,以指示删除操作在删除或断开关系时如何应用于关系中的从属实体。

[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 要配置的。

适用于