This class can be used to simplify the process of creating and returning late-bound
IDatabaseObject or DatabaseObject objects. This is is particularly useful in decreasing
load times of referenced objects by post-poning loading any objects until the property or
method is called directly.
The referenced object is only loaded on the first call to the Object property.
Subsequent calls return the already loaded object.
A variable of this type can be marked with the FieldMapping attribute so that the distinct
values are automatically set and read by the library (this particular facility can only be
used by an object that inherits from DatabaseObjectsUsingAttributes).
Namespace: DatabaseObjectsAssembly: DatabaseObjects
(in DatabaseObjects.dll) Version: 220.127.116.11
public class ObjectReference
Public Class ObjectReference
public ref class ObjectReference