Helpers..::..CastToNativeType Method (String, Type, String, Object)
Based on fldType, creates a .Net Native (int, decimal, string, datetime, etc.) instance based on binValue.
Namespace:
Aerospike.Database.LINQPadDriverAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
Parameters
- fldName
- Type: String
Used mostly for detailed exception messages in case of errors.
- fldType
- Type: Type
Used to create an instance of this type.
- binName
- Type: String
Used mostly for detailed exception messages in case of errors.
- binValue
- Type: Object
The bin value used to create fldType. This value maybe returned, if the types match.