Udostępnij za pośrednictwem


ForeignKeyPropertyDiscoveryConvention.ProcessForeignKeyRequirednessChanged Metoda

Definicja

Przeciążenia

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Wywoływana po zmianie wymaganego klucza obcego.

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

Wywoływana po zmianie wymaganego klucza obcego.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Źródło:
ForeignKeyPropertyDiscoveryConvention.cs
Źródło:
ForeignKeyPropertyDiscoveryConvention.cs

Wywoływana po zmianie wymaganego klucza obcego.

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

Parametry

relationshipBuilder
IConventionRelationshipBuilder

Budowniczy klucza obcego.

context
IConventionContext<IConventionRelationshipBuilder>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Implementuje

Dotyczy

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

Źródło:
ForeignKeyPropertyDiscoveryConvention.cs
Źródło:
ForeignKeyPropertyDiscoveryConvention.cs
Źródło:
ForeignKeyPropertyDiscoveryConvention.cs
Źródło:
ForeignKeyPropertyDiscoveryConvention.cs
Źródło:
ForeignKeyPropertyDiscoveryConvention.cs

Wywoływana po zmianie wymaganego klucza obcego.

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

Parametry

relationshipBuilder
IConventionForeignKeyBuilder

Budowniczy klucza obcego.

context
IConventionContext<Nullable<Boolean>>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Implementuje

Dotyczy