Class MapInheritanceAttribute
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Specifies the type of object-relational inheritance mapping for the class.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, Inherited = false)]
public sealed class MapInheritanceAttribute : Attribute
- Inheritance
-
MapInheritanceAttribute
- Inherited Members
Constructors
MapInheritanceAttribute(MapInheritanceType)
Initializes a new instance of the MapInheritanceAttribute class.
public MapInheritanceAttribute(MapInheritanceType mapType)
Parameters
mapType
MapInheritanceTypeA MapInheritanceType enumeration value which specifies the table that persistent properties and fields are saved to. This value is assigned to the MapInheritanceAttribute.MapType property.
Properties
MapType
Gets a value which specifies the table that persistent properties and fields are saved to.
public MapInheritanceType MapType { get; }
Property Value
- MapInheritanceType
A MapInheritanceType enumeration value that specifies which table persistent properties and fields are saved to.