Back to Devexpress

AggregatedAttribute Class

expressappframework-devexpress-dot-expressapp-dot-dc-a53b3749.md

latest2.3 KB
Original Source

AggregatedAttribute Class

Applied to business class properties. Indicates that a property or field references other aggregated persistent objects.

Namespace : DevExpress.ExpressApp.DC

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class AggregatedAttribute :
    Attribute
vb
Public Class AggregatedAttribute
    Inherits Attribute

Remarks

An aggregated object is a dependent object that is linked to its owner and cannot exist on its own. For example, Address and PhoneNumber business classes are usually not available in the navigation control and root ListView because they are created from the context of their parent object.

For Entity Framework Core and non-persistent objects, apply DC.AggregatedAttribute to reference or collection type properties. For example, you may have an aggregated Address reference type property and an aggregated collection of PhoneNumber objects. For more information on how to use the attribute, see One-to-Many (Aggregated).

If your application uses XPO, apply Xpo.AggregatedAttribute.

Inheritance

Object Attribute AggregatedAttribute

See Also

AggregatedAttribute Members

DevExpress.ExpressApp.DC Namespace