Partilhar via


ForeignKeyPropertyDiscoveryConvention.ProcessForeignKeyRequirednessChanged Método

Definição

Sobrecargas

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Chamado depois que a necessidade de uma chave estrangeira é alterada.

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

Chamado depois que a necessidade de uma chave estrangeira é alterada.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Origem:
ForeignKeyPropertyDiscoveryConvention.cs
Origem:
ForeignKeyPropertyDiscoveryConvention.cs

Chamado depois que a necessidade de uma chave estrangeira é alterada.

public virtual 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
override this.ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder> -> unit
Public Overridable Sub ProcessForeignKeyRequirednessChanged (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.

Implementações

Aplica-se a

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

Origem:
ForeignKeyPropertyDiscoveryConvention.cs
Origem:
ForeignKeyPropertyDiscoveryConvention.cs
Origem:
ForeignKeyPropertyDiscoveryConvention.cs
Origem:
ForeignKeyPropertyDiscoveryConvention.cs
Origem:
ForeignKeyPropertyDiscoveryConvention.cs

Chamado depois que a necessidade de uma chave estrangeira é alterada.

public virtual 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
override this.ProcessForeignKeyRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Overridable Sub ProcessForeignKeyRequirednessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

Parâmetros

relationshipBuilder
IConventionForeignKeyBuilder

O construtor da chave estrangeira.

context
IConventionContext<Nullable<Boolean>>

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

Implementações

Aplica-se a