Udostępnij za pośrednictwem


MigrationsSqlGenerator.ForeignKeyAction Metoda

Definicja

Generuje fragment SQL dla danej akcji referentyjnej.

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)

Parametry

referentialAction
ReferentialAction

Akcja referentijna.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do dodawania fragmentu SQL.

Dotyczy