TechTalk Genome v4.2

PredictiveCacheManager.LoadWithView Method 

Hints data retrieval services to retrieve the specified set of properties for a Set whenever the resulting Set is enumerated.

public static Set LoadWithView(
   Set s,
   params string[] viewNames
);

Parameters

s
The source Set.
viewNames
A string array containing view names declaring which properties have to be retrieved.

Return Value

A Set containing the same elements as s. The resulting Set will contain a hint that instructs the predictive cache framework to retrieve only the specified set of properties of the elements of s from the DataDomain whenever the resulting Set is enumerated.

Remarks

The requested set of properties is specified as the union of the views named in viewNames.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation

See Also

PredictiveCacheManager Class | TechTalk.Genome Namespace