Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

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

Puts (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<V>(
	string setName,
	Object primaryKey,
	IDictionary<string, V> binValues,
	WritePolicy writePolicy,
	Nullable<TimeSpan> ttl
)

Type Parameters

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.
binValues
Type: IDictionary<(Of <(<'String, V>)>)>
A dictionary where the key is the bin and the value is the bin's value.
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

See Also


WritePolicy
[BatchWrite{P,V}(string, IEnumerable{ValueTuple{P, IDictionary{string, V}}}, BatchPolicy, BatchWritePolicy, ParallelOptions)]