object_by_id Method (p_id)

[This is preliminary documentation and is subject to change.]

Retrieves an object from the cache. The cache holds only weak references to objects, so it can not be guaranteed that a valid object reference is returned even if it is known that an instance with that ID has been seen by the cache previously.
Declaration Syntax
C#Visual BasicVisual C++
Object object_by_id(
	Guid p_id
Function object_by_id ( _
	p_id As Guid _
) As Object
Object^ object_by_id(
	Guid p_id
p_id (Guid)
ID associated with an object
Return Value
An object or null

Assembly: sorm.interfaces (Module: sorm.interfaces) Version: