Class ExplicitLoadingAttribute
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Specifies that the information used to retrieve persistent objects that are referenced by the current property, is included in a query used to load this property.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
public sealed class ExplicitLoadingAttribute : Attribute
- Inheritance
-
ExplicitLoadingAttribute
- Inherited Members
Constructors
ExplicitLoadingAttribute()
Initializes a new instance of the ExplicitLoadingAttribute class with default settings.
public ExplicitLoadingAttribute()
ExplicitLoadingAttribute(int)
Initializes a new instance of the ExplicitLoadingAttribute class with the specified ExplicitLoadingAttribute.Depth property.
public ExplicitLoadingAttribute(int depth)
Parameters
depth
intAn integer value that specifies the reference depth of the current class from the root class. This value is assigned to the ExplicitLoadingAttribute.Depth property.
Properties
Depth
Gets or sets the reference depth of the current class from the root class.
public int Depth { get; set; }
Property Value
- int
An integer value that specifies the reference depth of the current class from the root class.