Link<T>::HasLoadedOrAssignedValue Property

 

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

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public:
property bool HasLoadedOrAssignedValue {
	bool get();
}

Property Value

Type: System::Boolean

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

"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 accesing it will not trigger deferred loading.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: