Interface IReferencingForeignKeysCache
- Namespace
- JsonApiDotNetCore.Repositories
- Assembly
- JsonApiDotNetCore.dll
Caches referencing Entity Framework Core foreign keys that have ClientSetNull for a principal entity type.
[PublicAPI]
public interface IReferencingForeignKeysCache
Methods
GetForeignKeysRequiringClientSetNullOnDelete(IReadOnlyModel, Type)
Returns the referencing foreign keys that have ClientSetNull for the specified principal entity type.
IReadOnlyList<IReadOnlyForeignKey> GetForeignKeysRequiringClientSetNullOnDelete(IReadOnlyModel model, Type entityClrType)
Parameters
modelIReadOnlyModelentityClrTypeType