共用方式為


IForeignKey.DeleteBehavior 屬性

定義

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

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

屬性值

適用於