Helpers..::..Transform<(Of <(<'T>)>)> Method
Transform from Aerospike bins into an .Net instance of type T.
Namespace:
Aerospike.Database.LINQPadDriverAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
Type Parameters
- T
- Creates an instance of Type T based on the Aerospike bins
Parameters
- bins
- Type: Dictionary<(Of <(<'String, Object>)>)>
The Aerospike Bins, where the Key is the bin name and value is the associated value
- transform
- Type: Func<(Of <(<'String, Type, String, Object, Object>)>)>
A action that is called to perform customized transformation. First argument -- the name of the property/field Second argument -- the property/field type Third argument -- bin name Fourth argument -- bin value Returns the new transformed object or null to indicate that this transformation should be skipped.
- primaryKey
- Type: Key
Primary Key value used to update instance base on attribute