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

適用於