SqlServerMigrationsSqlGenerator.ForeignKeyAction 方法

定义

为给定引用操作生成 SQL 片段。

protected override void ForeignKeyAction (Microsoft.EntityFrameworkCore.Migrations.ReferentialAction referentialAction, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.ForeignKeyAction : Microsoft.EntityFrameworkCore.Migrations.ReferentialAction * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub ForeignKeyAction (referentialAction As ReferentialAction, builder As MigrationCommandListBuilder)

参数

referentialAction
ReferentialAction

引用操作。

builder
MigrationCommandListBuilder

用于添加 SQL 片段的命令生成器。

适用于