Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

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

Put (Writes) a DB record based on the provided key and bin values. 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,
	IEnumerable<Bin> binsToWrite,
	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.
binsToWrite
Type: IEnumerable<(Of <(<'Bin>)>)>
A collection of Bin objects used to add/update the associated 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