Skip to main content
A newer version of this page is available.
.NET Framework 4.5.2+
  • 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.

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

NuGet Package: DevExpress.ExpressApp.EF

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