Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

ARecord..::..SetValue Method (String, Object, Boolean)

Set a value to a bin within the record. This can be adding a new bin or updating an existing bin.

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

Syntax


public ARecord SetValue(
	string binName,
	Object value,
	bool cloneRecord
)

Parameters

binName
Type: String
BinName Name
value
Type: Object
Value associated with the bin. If null, the bin is removed from DB record. value can be a Value, Key, Bin or a native type/class.
cloneRecord
Type: Boolean
If true, this instance (record) is cloned and then updated.

Return Value

Returns the updated record.