Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

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

Deletes a DB record based on the provided 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 bool Delete(
	ARecord record,
	WritePolicy writePolicy
)

Parameters

record
Type: Aerospike.Database.LINQPadDriver.Extensions..::..ARecord
A ARecord object used to add or update the associated record.
writePolicy
Type: WritePolicy
The write policy. If noy provided , the default policy is used.

Return Value

Returns true, if the DB record is deleted.