BTreeMapBaseKey, ValueGetValueId Method (Key) |
When Value type implements
IOptimizedPersistable, you can use this function to get the Id of the persistent object instead of the entire object.
Use for performance reasons in certain cases where reading the object isn't desired.
Namespace:
VelocityDb.Collection.BTree
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public ulong GetValueId(
Key key
)
Public Function GetValueId (
key As Key
) As ULong
public:
unsigned long long GetValueId(
Key key
)
member GetValueId :
key : 'Key -> uint64
Parameters
- key
- Type: Key
Lookup object of type Key where Value must be implementing IOptimizedPersistable
Return Value
Type:
UInt64The Id of the corresponding value object or 0 if not persistant or not mplementing
IOptimizedPersistableSee Also