Enlist the types of inheritance that are supported by Entity Framework?

devquora
devquora

Posted On: Feb 22, 2018

 

There are three kinds of inheritance that are supported by Entity Frameworks as follows:

  • TPT or Table per Type: This technique depicts a separate or distinct table for all and every domain class.
  • TPC or Table per Concrete Class: This technique depicts a single table for a lone concrete class, but excluding the abstract class. So, if one inherits the abstract class in innumerable concrete classes then the features of the abstract classes become a fragment of every table of the concrete class.
  • Core Supporting Inheritance: For mapping, there are limited patterns of class hierarchy that may be depicted in a relational database. The most favored ones include TPT or Table per Type and TPH or Table per Hierarchy.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Entity framework interview questions

    Explain what is Entity Framework?

    Entity Framework happens to be an open-source ORM or object-relational mapping framework utilized for ADO.Net. It is a set of mechanization that assists in the improvement of data-oriented software ad...

    Entity framework interview questions

    What is new in entity framework 7?

    The new features in entity framework 7 include the following:New platforms: .NET along with the other distinct technologies like WPF, ASP.NET, WinForms is supported by Entity Framework 7.  E...

    Entity framework interview questions

    How to check installed version of Entity Framework?

    To check, If you open up the reference file and detect system.entity.data, click the module and then inspect the runtime version numerical in the Properties explorer and you can witness the subversion...