Notifies the framework that a field should be eager loaded. If this attribute is applied to a value object field, then AggregateName should be specified and the field becomes lazy by default.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = true, Inherited = false)]
public sealed class EagerLoadAttribute : Attribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := True, Inherited := False)> _
Public NotInheritable Class EagerLoadAttribute _
	Inherits Attribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Mindscape.LightSpeed..::.EagerLoadAttribute

See Also