xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-f2f2cc4d.md
Gets a value that specifies which table persistent properties and fields are saved to.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public MapInheritanceType TableMapType { get; }
Public ReadOnly Property TableMapType As MapInheritanceType
| Type | Description |
|---|---|
| MapInheritanceType |
A MapInheritanceType enumeration value that specifies which table persistent properties and fields are saved to.
|
Available values:
| Name | Description |
|---|---|
| ParentTable |
The persistent properties and the fields of a class are stored in the same table as the properties of its parent class.
Note
When storing descendant classes to the table of their parent class, make sure that properties of different data types are not mapped to the same column.
| | OwnTable |
Persistent properties and fields are stored in a separate table.
|
The mapping inheritance type is specified using the MapInheritanceAttribute.MapType property of the MapInheritanceAttribute attribute. If no MapInheritanceAttribute is specified, the TableMapType property returns the MapInheritanceType.OwnTable value.
See Also