Table of Contents

Interface IDbContextResolver

Namespace
JsonApiDotNetCore.Repositories
Assembly
JsonApiDotNetCore.dll

Provides a method to resolve a DbContext.

public interface IDbContextResolver

Methods

GetContext()

DbContext GetContext()

Returns

DbContext

GetForeignKeysRequiringClientSetNullOnDelete(Type)

Returns the referencing foreign keys that have ClientSetNull for the specified principal entity type.

IReadOnlyList<IReadOnlyForeignKey> GetForeignKeysRequiringClientSetNullOnDelete(Type entityClrType)

Parameters

entityClrType Type

Returns

IReadOnlyList<IReadOnlyForeignKey>