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

属性值

适用于