Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..Delete Method (Object, WritePolicy)

Deletes the DB record associated with the primary key. 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 bool Delete(
	Object primaryKey,
	WritePolicy writePolicy
)

Parameters

primaryKey
Type: Object
Primary AerospikeKey. This can be a Key, Value, or Bin object besides a native, collection, etc. value/object.
writePolicy
Type: WritePolicy
The write policy. If not provided , the default policy is used.

Return Value

Returns true, if the DB record is deleted.