Single Table Inheritance

Single Table Inheritance

Jesse Russell Ronald Cohn

     

бумажная книга



ISBN: 978-5-5114-4115-3

High Quality Content by WIKIPEDIA articles! Single table inheritance is a way to emulate object-oriented inheritance in a relational database. When mapping from a database table to an object in an object-oriented language, a field in the database identifies what class in the hierarchy the object belongs to. In Ruby on Rails the field in the table called `type` identifies the name of the class. In .NET_Framework, it is called the Discriminator column.