共用方式為


IMutableForeignKey.DeleteBehavior 屬性

定義

取得或設定值,指出刪除作業如何在刪除主體或中斷關聯性時,將刪除作業套用至關聯性中的相依實體。

public Microsoft.EntityFrameworkCore.Metadata.DeleteBehavior DeleteBehavior { get; set; }
public Microsoft.EntityFrameworkCore.DeleteBehavior DeleteBehavior { get; set; }
member this.DeleteBehavior : Microsoft.EntityFrameworkCore.Metadata.DeleteBehavior with get, set
member this.DeleteBehavior : Microsoft.EntityFrameworkCore.DeleteBehavior with get, set
Public Property DeleteBehavior As DeleteBehavior

屬性值

適用於