Dil

NavigationEagerLoadingConvention Sınıf

Tanım

Gezintileri sahip olunan varlık türlerine hevesle yüklenmiş olarak yapılandıran bir kural.

[System.Runtime.CompilerServices.Nullable(0)]
public class NavigationEagerLoadingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention
public class NavigationEagerLoadingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type NavigationEagerLoadingConvention = class
    interface IForeignKeyOwnershipChangedConvention
    interface IConvention
type NavigationEagerLoadingConvention = class
    interface IForeignKeyOwnershipChangedConvention
    interface IConvention
Public Class NavigationEagerLoadingConvention
Implements IForeignKeyOwnershipChangedConvention
Devralma
NavigationEagerLoadingConvention
Özellikler
Uygulamalar

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Model oluşturma kuralları .

Oluşturucular

Veri Akışı Adı Description
NavigationEagerLoadingConvention(ProviderConventionSetBuilderDependencies)

öğesinin yeni bir örneğini NavigationEagerLoadingConventionoluşturur.

Özellikler

Veri Akışı Adı Description
Dependencies

Bu hizmet için bağımlılıklar.

Yöntemler

Veri Akışı Adı Description
ProcessForeignKeyOwnershipChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Yabancı anahtarın sahiplik değeri değiştirildikten sonra çağrılır.

ProcessForeignKeyOwnershipChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Yabancı anahtarın sahiplik değeri değiştirildikten sonra çağrılır.

Şunlara uygulanır