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.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
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
Exception | Condition |
---|---|
NullReferenceException | If SetAccess is null, a Null reference exception is thrown. |