Skip to main content
A newer version of this page is available. .

MapInheritanceAttribute.MapType Property

Gets a value which specifies the table that persistent properties and fields are saved to.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public MapInheritanceType MapType { get; }

Property Value

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.

See Also