Aerospike LINDPad Driver

AValueHelper..::..ToAPrimaryKey Method (Object, String, String)

Converts a value to a APrimaryKey If value is a string of length 44 that begins with '0x', it will be treated as a digest.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public static APrimaryKey ToAPrimaryKey(
	this Object value,
	string nameSpace,
	string setName
)

Parameters

value
Type: Object
The value to be converted to a Key.
nameSpace
Type: String
The namespace associated with the key
setName
Type: String
Name of the set associated with the key

Return Value

APrimaryKey