語言

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
屬性

備註

更多資訊與範例請參閱 建模實體類型與關係 。

建構函式

名稱 Description
DeleteBehaviorAttribute(DeleteBehavior)

初始化 DeleteBehaviorAttribute 類別的新執行個體。

屬性

名稱 Description
Behavior

讓設定 DeleteBehavior 完成。

適用於