Table Per Hierarchy or commonly known by (TPH) describes mapping inherited types to a single database table (a model entity in your case) that uses a discriminator column to differentiate one subtype from another. When you create inheritance in your model, this is how Code First convention will infer the table mapping by default.
You can accomplish this approach by doing for example
in visual studio .edmx editor, right click on the surface, use the Add –> Entity

i added two entities student and professor that the base type is going to be person, after that you should have something like this

With this you can create the Table per hierarchy model.