EF Core Fluent API Configuration Prevents TPC Inheritance
问题 I have models which inherit from each other, but I am struggling to get the fluent api configuration to behave as I want it to. Let's say I have a base class which defines some core properties public class Entity { public int Id { get; set; } public string Title { get; set }; } And a subclass for Book public class Book : Entity { public int Edition { get; set; } } This way I can have books, magazines, pamphlets, comics, speeches etc, all inheriting from my Entity, and not have to define the