Rediger

Del via


Link<T>.HasLoadedOrAssignedValue Property

Definition

Specifies whether the Link<T> has loaded or assigned a value.

public:
 property bool HasLoadedOrAssignedValue { bool get(); };
public bool HasLoadedOrAssignedValue { get; }
member this.HasLoadedOrAssignedValue : bool
Public ReadOnly Property HasLoadedOrAssignedValue As Boolean

Property Value

true if the Link<T> has either loaded or assigned a value; otherwise, false.

Remarks

"Loaded" means that the data was loaded during materialization or at deferred loading. "Assigned" means that you have manually given the data a value.

LINQ to SQL uses this property to make sure that the Link<T> has a value, so that accessing it will not trigger deferred loading.

Applies to