Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..Put Method (Object, String, Object, WritePolicy, Nullable<(Of <(<'TimeSpan>)>)>)

Puts (writes) a bin to the DB record. Note that if the namespace and/or set is different, this instances's values are used.

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

Syntax


public void Put(
	Object primaryKey,
	string bin,
	Object binValue,
	WritePolicy writePolicy,
	Nullable<TimeSpan> ttl
)

Parameters

primaryKey
Type: Object
Primary AerospikeKey. This can be a Key, Value, or Bin object besides a native, collection, etc. value/object.
bin
Type: String
BinName Name
binValue
Type: Object
BinName's Value. If null, the bin is removed from the record.
writePolicy
Type: WritePolicy
The write policy. If not provided , the default policy is used.
ttl
Type: Nullable<(Of <(<'TimeSpan>)>)>
Time-to-live of the record