Condividi tramite


ValueGenerationConvention.ProcessForeignKeyAdded Metodo

Definizione

Overload

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità.

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità.

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Origine:
ValueGenerationConvention.cs
Origine:
ValueGenerationConvention.cs
Origine:
ValueGenerationConvention.cs
Origine:
ValueGenerationConvention.cs
Origine:
ValueGenerationConvention.cs

Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità.

public virtual void ProcessForeignKeyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
abstract member ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
override this.ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
Public Overridable Sub ProcessForeignKeyAdded (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of IConventionForeignKeyBuilder))

Parametri

relationshipBuilder
IConventionForeignKeyBuilder

Generatore per la chiave esterna.

context
IConventionContext<IConventionForeignKeyBuilder>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Implementazioni

Si applica a

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Origine:
ValueGenerationConvention.cs
Origine:
ValueGenerationConvention.cs

Chiamato dopo l'aggiunta di una chiave esterna al tipo di entità.

public virtual void ProcessForeignKeyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> context);
abstract member ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
override this.ProcessForeignKeyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Overridable Sub ProcessForeignKeyAdded (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.

Implementazioni

Si applica a