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

属性值

适用于