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.
| C# | Visual Basic |
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = true, Inherited = false)] public sealed class EagerLoadAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := True, Inherited := False)> _ Public NotInheritable Class EagerLoadAttribute _ Inherits Attribute
| All Members | Constructors | Properties | |||
| Icon | Member | Description |
|---|---|---|
| EagerLoadAttribute()()() | ||
| AggregateName |
Used to control whether an association should be eager loaded.
|