Skip to main content
.NET Standard 2.0+

MapInheritanceType Enum

Lists the values that specify which table persistent properties and fields are saved to.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v22.1.dll

Declaration

public enum MapInheritanceType

Members

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.

Remarks

The value listed by this enumeration are used to set the MapInheritanceAttribute.MapType property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MapInheritanceType enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also