共用方式為


DeleteBehaviorAttribute(DeleteBehavior) 建構函式

定義

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

public DeleteBehaviorAttribute (Microsoft.EntityFrameworkCore.DeleteBehavior behavior);
new Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute : Microsoft.EntityFrameworkCore.DeleteBehavior -> Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute
Public Sub New (behavior As DeleteBehavior)

參數

behavior
DeleteBehavior

DeleteBehavior要設定的 。

適用於