关于Microsoft.EntityFrameworkCore 5.x 实体继承模式TPC继承模式中派生类继承基类所有属性生成数据库表方法

    public class Person
    {
        public string Id { get; set; }
          *
          *
          *
        public string xxx { get; set; }
    }
    public class Student : Person
    {

    }
    public class MyDbContext : DbContext
    {
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Student>().Map(m =>//方法不存在
            {
                //在Microsoft.EntityFrameworkCore 5.x中找不到MapInheritedProperties()映射继承属性方法,
                //请问方法是取消了还是改了,该如何继承基类所有属性生成数据库表
                m.MapInheritedProperties();//方法不存在
                m.ToTable("Student");
            });
        }
    }

```

EF Core 尚不支持 EF6 支持每种类型一个表(TPT)和每个具体的表类型(TPC)。 TPT 是为 EF Core 5.0 计划的主要功能
https://blog.csdn.net/qq_27848323/article/details/107489138