Polymorphism in Entity Framework
问题 The concrete classes ( BankAccount and CreditCard ) are not visible on controller. I'm stuck with this issue. I'm using the example from this site: http://weblogs.asp.net/manavi/archive/2010/12/28/inheritance-mapping-strategies-with-entity-framework-code-first-ctp5-part-2-table-per-type-tpt.aspx The view The CreateUser : If the CreditCard was selected it should be associated to the User class. The diagram The code UserController : [HttpPost] public ActionResult Create(User user)//The Watch