NavigationEagerLoadingConvention Klasa

Definicja

Konwencja, która konfiguruje nawigacje do typów jednostek będących własnością jako załadowane.

public class NavigationEagerLoadingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention
type NavigationEagerLoadingConvention = class
    interface IForeignKeyOwnershipChangedConvention
    interface IConvention
Public Class NavigationEagerLoadingConvention
Implements IForeignKeyOwnershipChangedConvention
Dziedziczenie
NavigationEagerLoadingConvention
Implementuje

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Konwencje tworzenia modeli .

Konstruktory

NavigationEagerLoadingConvention(ProviderConventionSetBuilderDependencies)

Tworzy nowe wystąpienie klasy NavigationEagerLoadingConvention.

Właściwości

Dependencies

Zależności dla tej usługi.

Metody

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

Wywoływana po zmianie wartości własności klucza obcego.

ProcessForeignKeyOwnershipChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Wywoływana po zmianie wartości własności klucza obcego.

Dotyczy