SqlMapperGetTypeDeserializer Method |
Internal use only
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Func<IDataReader, Object> GetTypeDeserializer(
Type type,
IDataReader reader,
int startBound = 0,
int length = -1,
bool returnNullIfFirstMissing = false
)
Public Shared Function GetTypeDeserializer (
type As Type,
reader As IDataReader,
Optional startBound As Integer = 0,
Optional length As Integer = -1,
Optional returnNullIfFirstMissing As Boolean = false
) As Func(Of IDataReader, Object)
public:
static Func<IDataReader^, Object^>^ GetTypeDeserializer(
Type^ type,
IDataReader^ reader,
int startBound = 0,
int length = -1,
bool returnNullIfFirstMissing = false
)
static member GetTypeDeserializer :
type : Type *
reader : IDataReader *
?startBound : int *
?length : int *
?returnNullIfFirstMissing : bool
(* Defaults:
let _startBound = defaultArg startBound 0
let _length = defaultArg length -1
let _returnNullIfFirstMissing = defaultArg returnNullIfFirstMissing false
*)
-> Func<IDataReader, Object>
Parameters
- type
- Type: SystemType
- reader
- Type: System.DataIDataReader
- startBound (Optional)
- Type: SystemInt32
- length (Optional)
- Type: SystemInt32
- returnNullIfFirstMissing (Optional)
- Type: SystemBoolean
Return Value
Type:
FuncIDataReader,
ObjectSee Also