.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

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


[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public class DelayedAttribute :
<AttributeUsage(AttributeTargets.Property, Inherited:=True)>
Public Class DelayedAttribute
    Inherits Attribute


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.


See Also