TechTalk Genome v4.2

PredictiveCacheManager.LoadWithView<T> Method (T, String[])

Loads the specified object partially.

public static T LoadWithView<T>(
   T obj,
   params string[] viewNames
);

Type Parameters

T
The type of the parameter obj

Parameters

obj
The persistent object to be loaded.
viewNames
A string array containing view names declaring which properties have to be retrieved.

Return Value

A persistent object that is loaded partially retrieving a set of properties specified by viewNames.

Remarks

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

Exceptions

Exception TypeCondition
GenomeExceptionobj is not a persistent object.

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 | PredictiveCacheManager.LoadWithView<T> Overload List