This approach will generate one table on the database to represent all the inheritance structure.
Example:
public abstract class Person
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime BirthDate { get; set; }
}
public class Employee : Person
{
...
This approach will generate (n+1) tables on the database to represent all the inheritance structure where n is the number of subclasses.
How to:
public abstract class Person
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime BirthDate { get; set; }
}
...