Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

ARecord..::..Refresh Method

Re-retrieves the record from the DB based on Key. A new instance of record is created and returned.

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

Syntax


public ARecord Refresh(
	Policy policy
)

Parameters

policy
Type: Policy
A Policy If not provided, the default read policy for the namespace is used.

Return Value

A new instance of ARecord returned from the DB. If the record is not found in the DB, null is returned.

Exceptions


ExceptionCondition
NullReferenceException If SetAccess is null, a Null reference exception is thrown.