Condividi tramite


IForeignKeyRequirednessChangedConvention.ProcessForeignKeyRequirednessChanged Metodo

Definizione

Overload

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Chiamato dopo la modifica dell'obbligatorietà per una chiave esterna.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Chiamato dopo la modifica dell'obbligatorietà per una chiave esterna.

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Origine:
IForeignKeyRequirednessChangedConvention.cs
Origine:
IForeignKeyRequirednessChangedConvention.cs
Origine:
IForeignKeyRequirednessChangedConvention.cs

Chiamato dopo la modifica dell'obbligatorietà per una chiave esterna.

public void ProcessForeignKeyRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

Parametri

relationshipBuilder
IConventionForeignKeyBuilder

Generatore per la chiave esterna.

context
IConventionContext<Nullable<Boolean>>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Si applica a

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Chiamato dopo la modifica dell'obbligatorietà per una chiave esterna.

public void ProcessForeignKeyRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> context);
abstract member ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionRelationshipBuilder, context As IConventionContext(Of IConventionRelationshipBuilder))

Parametri

relationshipBuilder
IConventionRelationshipBuilder

Generatore per la chiave esterna.

context
IConventionContext<IConventionRelationshipBuilder>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Si applica a