Hooking infrastructure services

Being modular means, for Entity Framework Core, that a big part of its constituting parts can be addressed and switched separately. This means that we can replace a component that has some functionality for another one that offers enhanced capabilities.

Most of the components of Entity Framework Core have their functionality specified by an interface. Some of these interfaces are as follows:

  • ICompiledQueryCacheKeyGenerator
  • IConventionSetBuilder
  • IDatabaseProviderServices
  • IDbContextTransactionManager
  • IInternalEntityEntryFactory
  • IEntityQueryModelVisitorFactory
  • IHistoryRepository
  • IMemberTranslator
  • IMethodCallTranslator
  • IMigrationsAnnotationProvider
  • IMigrationsSqlGenerator
  • IModelSource
  • IModificationCommandBatchFactory
  • IQueryCompilationContextFactory ...

Get Entity Framework Core Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.