Single Table Inheritance
From Wikipedia, the free encyclopedia
| This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles; suggestions may be available. (February 2009) |
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[1]. 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.
[edit] See also
[edit] References
- ^ Martin Fowler Patterns of Enterprise Application Architecture (2003), p. 278
[edit] External links
| This software article is a stub. You can help Wikipedia by expanding it. |