Interface IDbContextResolver
- Namespace
- JsonApiDotNetCore.Repositories
- Assembly
- JsonApiDotNetCore.dll
Provides a method to resolve a DbContext.
public interface IDbContextResolver
Methods
GetContext()
DbContext GetContext()
Returns
GetForeignKeysRequiringClientSetNullOnDelete(Type)
Returns the referencing foreign keys that have ClientSetNull for the specified principal entity type.
IReadOnlyList<IReadOnlyForeignKey> GetForeignKeysRequiringClientSetNullOnDelete(Type entityClrType)
Parameters
entityClrTypeType