Compartilhar via


SqlServerMigrationsSqlGenerator.ForeignKeyAction Método

Definição

Gera um fragmento SQL para a ação referencial fornecida.

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)

Parâmetros

referentialAction
ReferentialAction

A ação referencial.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para adicionar o fragmento SQL.

Aplica-se a