Compartilhar via


IForeignKeyAddedConvention.ProcessForeignKeyAdded Método

Definição

Sobrecargas

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Chamado depois que uma chave estrangeira é adicionada ao tipo de entidade.

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Chamado depois que uma chave estrangeira é adicionada ao tipo de entidade.

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Origem:
IForeignKeyAddedConvention.cs
Origem:
IForeignKeyAddedConvention.cs
Origem:
IForeignKeyAddedConvention.cs

Chamado depois que uma chave estrangeira é adicionada ao tipo de entidade.

public void ProcessForeignKeyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder foreignKeyBuilder, 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
Public Sub ProcessForeignKeyAdded (foreignKeyBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of IConventionForeignKeyBuilder))

Parâmetros

foreignKeyBuilder
IConventionForeignKeyBuilder

O construtor da chave estrangeira.

context
IConventionContext<IConventionForeignKeyBuilder>

Informações adicionais associadas à execução da convenção.

Aplica-se a

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Chamado depois que uma chave estrangeira é adicionada ao tipo de entidade.

public 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
Public Sub ProcessForeignKeyAdded (relationshipBuilder As IConventionRelationshipBuilder, context As IConventionContext(Of IConventionRelationshipBuilder))

Parâmetros

relationshipBuilder
IConventionRelationshipBuilder

O construtor da chave estrangeira.

context
IConventionContext<IConventionRelationshipBuilder>

Informações adicionais associadas à execução da convenção.

Aplica-se a