Compartir a través de


IForeignKeyRequirednessChangedConvention.ProcessForeignKeyRequirednessChanged Método

Definición

Sobrecargas

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

Se llama después de cambiar la necesaria para una clave externa.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Se llama después de cambiar la necesaria para una clave externa.

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

Source:
IForeignKeyRequirednessChangedConvention.cs
Source:
IForeignKeyRequirednessChangedConvention.cs
Source:
IForeignKeyRequirednessChangedConvention.cs

Se llama después de cambiar la necesaria para una clave externa.

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)))

Parámetros

relationshipBuilder
IConventionForeignKeyBuilder

Generador de la clave externa.

context
IConventionContext<Nullable<Boolean>>

Información adicional asociada a la ejecución de la convención.

Se aplica a

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Se llama después de cambiar la necesaria para una clave externa.

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))

Parámetros

relationshipBuilder
IConventionRelationshipBuilder

Generador de la clave externa.

context
IConventionContext<IConventionRelationshipBuilder>

Información adicional asociada a la ejecución de la convención.

Se aplica a