Aerospike LINDPad Driver

ATransaction..::..RecordState Method (String, Object)

Returns the TransactionRecordStates of a record's key. This is only valid when the State is Active.

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

Syntax


public ValueTuple<TransactionRecordStates, Nullable<long>> RecordState(
	string setName,
	Object keyValue
)

Parameters

setName
Type: String
Name of the set or null to indicate the Aerospike Null set.
keyValue
Type: Object
The key's value.

Return Value

Returns a Value Tuple: state (1st value) -- The TransactionRecordStates generation (2nd value) -- The record's generation, if it was read. Otherwise the value will be null.