Back to Devexpress

MapInheritanceAttribute.MapType Property

xpo-devexpress-dot-xpo-dot-mapinheritanceattribute.md

latest1.6 KB
Original Source

MapInheritanceAttribute.MapType Property

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

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public MapInheritanceType MapType { get; }
vb
Public ReadOnly Property MapType As MapInheritanceType

Property Value

TypeDescription
MapInheritanceType

A MapInheritanceType enumeration value that specifies which table persistent properties and fields are saved to.

|

Available values:

NameDescription
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

MapInheritanceAttribute Class

MapInheritanceAttribute Members

DevExpress.Xpo Namespace