Overview

EF Core supports three strategies of mapping .NET types:

Guidance

  • Prefer TPH unless the below applies.
  • Use TPC when code will mostly query for entities of a single leaf type.
  • Use TPT only if constrained to do so by external factors.