Condividi tramite


MigrationsSqlGenerator.ForeignKeyAction Metodo

Definizione

Genera un frammento SQL per l'azione referenziale specificata.

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)

Parametri

referentialAction
ReferentialAction

Azione referenziale.

builder
MigrationCommandListBuilder

Generatore di comandi da usare per aggiungere il frammento SQL.

Si applica a