Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

ARecord..::..SetValue<(Of <(<'T>)>)> Method (String, Nullable<(Of <(<'T>)>)>, 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<T>(
	string binName,
	Nullable<T> value,
	bool cloneRecord
)

Type Parameters

T

Parameters

binName
Type: String
BinName Name
value
Type: Nullable<(Of <(<'T>)>)>
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.