IForeignKeyNullNavigationSetConvention.ProcessForeignKeyNullNavigationSet Yöntem

Tanım

Yabancı bir anahtarda gezinti olarak ayarlandıktan null sonra çağrılır.

public void ProcessForeignKeyNullNavigationSet (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, bool pointsToPrincipal, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> context);
abstract member ProcessForeignKeyNullNavigationSet : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * bool * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> -> unit
Public Sub ProcessForeignKeyNullNavigationSet (relationshipBuilder As IConventionForeignKeyBuilder, pointsToPrincipal As Boolean, context As IConventionContext(Of IConventionNavigation))

Parametreler

relationshipBuilder
IConventionForeignKeyBuilder

Yabancı anahtar için oluşturucu.

pointsToPrincipal
Boolean

Gezintinin null asıl varlık türünü işaret edip etmediğini belirten bir değer.

context
IConventionContext<IConventionNavigation>

Kural yürütme ile ilişkili ek bilgiler.

Şunlara uygulanır