Table of Contents

Class InverseNavigationResolver

Namespace
JsonApiDotNetCore.Configuration
Assembly
JsonApiDotNetCore.dll

Responsible for populating InverseNavigationProperty. This service is instantiated at startup. When using a data access layer other than Entity Framework Core, you should implement and register this service.

[PublicAPI]
public sealed class InverseNavigationResolver : IInverseNavigationResolver
Inheritance
InverseNavigationResolver
Implements
Inherited Members

Constructors

InverseNavigationResolver(IResourceGraph, IEnumerable<IDbContextResolver>)

public InverseNavigationResolver(IResourceGraph resourceGraph, IEnumerable<IDbContextResolver> dbContextResolvers)

Parameters

resourceGraph IResourceGraph
dbContextResolvers IEnumerable<IDbContextResolver>

Methods

Resolve()

Resolves the opposite direction of relationships in the resource graph and populates their InverseNavigationProperty.

public void Resolve()