Basically, I have two EF classes (mapped to the database) in a TPT architecture:
// Gets mapped to a table called "People".
public class Person { public Guid Id { get; set; } }
// Gets mapped to a table called "People_Student".
public class Student : Person {}
Now, say I get a Person:
var person = context.People.Find(<someguid>);
And, subsequently, I want to promote that Person to a Student type and save it back to the database. I have thought of a few different ideas on how this might work, but I was wondering if there is a best practice for this type of requirement.