Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public class AggregatedAttribute :
    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