[This is preliminary documentation and is subject to change.]
Returns ULONG for an object so any object (i.e. a string) may be used as a sharding key.
Suppose a string needs to be used for sharding, this method translates a string into a 64 bit hash expressed as ulong
Namespace: NFX.DataAccess.DistributedAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
Parameters
- key
- Type:
System Object
An object used for sharding ID translation
Return Value
Type:
UInt64 that represents the sharding ID
See Also