Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

ANamespaceAccess..::..Put<(Of <(<'K, V>)>)> Method (String, Object, String, IDictionary<(Of <(<'K, V>)>)>, 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<K, V>(
	string setName,
	Object primaryKey,
	string bin,
	IDictionary<K, V> collectionValue,
	WritePolicy writePolicy,
	Nullable<TimeSpan> ttl
)

Type Parameters

K
V

Parameters

setName
Type: String
Set name or null for the null set
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
collectionValue
Type: IDictionary<(Of <(<'K, V>)>)>
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