Specifies that the type is a root of a type family, as regards storage in the underlying relational database system
dbo in Microsoft SQL Server) is used.
The <RootInheritance> element defines an extent provider for root persistent types. It stores the fields of the type in the specified table of the underlying relational database system. The table is stored in the provided catalog with the database-user.
<Mapping xmlns="urn:TechTalk:TT.OODAL.XmlMapping">
...
<Type name="Employee">
<RootInheritance />
<!-- the fields will be stored in the "Employee" table -->
...
</Type>
<Type name="Order">
<RootInheritance tableName="TBL_ORDER" />
<!-- the fields will be stored in the "TBL_ORDER" table -->
...
</Type>
</Mapping>
Type: TechTalk.Genome.Mapping.RootInheritanceXmlData
Assembly: TechTalk.Genome.dll
Version: 4.2.4
Editions: Professional, Evaluation, Express
Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Oracle 9i Release 2, Oracle 10g Release 2
Type Extent Providers | <SharedInheritance> Element | <JoinedInheritance> Element