Skip to main content
A newer version of this page is available.

DelayedAttribute Class

Applied to reference properties of Entity Framework classes. Indicates that the property value should not be loaded when an entity object is being loaded. The property will be loaded the first time it is accessed.

Namespace: DevExpress.ExpressApp.EF.Utils

Assembly: DevExpress.ExpressApp.EF.v19.1.dll

Declaration

[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public class DelayedAttribute :
    Attribute

Remarks

In XAF, referenced Entity Framework objects are automatically loaded in a single request with maser objects when a List View is opened. Use the DelayedAttribute to improve performance when loading and updating properties that are rarely used, or contain large amounts of data.

Inheritance

Object
Attribute
DelayedAttribute
See Also