Share via


SqlServerMigrationsSqlGenerator.ForeignKeyAction Method

Definition

Generates a SQL fragment for the given referential action.

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)

Parameters

referentialAction
ReferentialAction

The referential action.

builder
MigrationCommandListBuilder

The command builder to use to add the SQL fragment.

Applies to