Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..BatchDelete<(Of <(<'R>)>)> Method

Deletes records defined in primaryKeys.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public bool BatchDelete<R>(
	IEnumerable<R> primaryKeys,
	BatchPolicy batchPolicy,
	BatchDeletePolicy deletePolicy,
	Expression filterExpression
)

Type Parameters

R
Primary Key Type

Parameters

primaryKeys
Type: IEnumerable<(Of <(<'R>)>)>
A collection of primary keys that will be deleted.
batchPolicy
Type: BatchPolicy
BatchPolicy
deletePolicy
Type: BatchDeletePolicy
filterExpression
Type: Expression
The expression that will be applied to the result set. Can be null.

Return Value

Returns true if all records deleted or false if one or more wasn't found

See Also


BatchDeletePolicy
[ANamespaceAccess.BatchDelete{R}(string, IEnumerable{R}, BatchPolicy, BatchDeletePolicy, Expression)]