The requested page is not available for the requested platform. You are viewing the content for Default platform.

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
<AttributeUsage(AttributeTargets.Property, Inherited:=True)>
Public Class DelayedAttribute
    Inherits 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

Implements

See Also