Compartir a través de


MigrationsSqlGenerator.ForeignKeyAction Método

Definición

Genera un fragmento de SQL para la acción referencial especificada.

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

Parámetros

referentialAction
ReferentialAction

Acción referencial.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para agregar el fragmento de SQL.

Se aplica a