Click or drag to resize

WeakIOptimizedPersistableReferenceT Class

When a persistent object is opened, all its referenced objects are opened as well. In order to limit the number of opened objects, you need to use this class. A reference from an instance of this class will not cause the referenced object to be opened. It will be opened when you ask for it.
Inheritance Hierarchy
SystemObject
  VelocityDbWeakIOptimizedPersistableReferenceBase
    VelocityDbWeakIOptimizedPersistableReferenceT

Namespace:  VelocityDb
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
[SerializableAttribute]
public class WeakIOptimizedPersistableReference<T> : WeakIOptimizedPersistableReferenceBase
where T : IOptimizedPersistable

Type Parameters

T
The Type of the weak referenced object, must be OptimizedPersistable

The WeakIOptimizedPersistableReferenceT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodGetTarget
Gets the persistent object referenced by the weak reference
Public methodToString
Append the Oid of the referenced object to the string.
(Overrides ObjectToString.)
Top
See Also