XPClassInfo.TableMapType Property
Gets a value that specifies which table persistent properties and fields are saved to.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public MapInheritanceType TableMapType { get; }
#Property Value
Type | Description |
---|---|
Map |
A Map |
Available values:
Name | Description |
---|---|
Parent |
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. |
Own |
Persistent properties and fields are stored in a separate table. |
#Remarks
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.