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 配置的 。

适用于