SqlMapperGridReaderReadTFirst, TSecond, TThird, TFourth, TReturn Method (FuncTFirst, TSecond, TThird, TFourth, TReturn, String, Boolean) |
Read multiple objects from a single record set on the grid
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public IEnumerable<TReturn> Read<TFirst, TSecond, TThird, TFourth, TReturn>(
Func<TFirst, TSecond, TThird, TFourth, TReturn> func,
string splitOn = "id",
bool buffered = true
)
Public Function Read(Of TFirst, TSecond, TThird, TFourth, TReturn) (
func As Func(Of TFirst, TSecond, TThird, TFourth, TReturn),
Optional splitOn As String = "id",
Optional buffered As Boolean = true
) As IEnumerable(Of TReturn)
public:
generic<typename TFirst, typename TSecond, typename TThird, typename TFourth, typename TReturn>
IEnumerable<TReturn>^ Read(
Func<TFirst, TSecond, TThird, TFourth, TReturn>^ func,
String^ splitOn = L"id",
bool buffered = true
)
member Read :
func : Func<'TFirst, 'TSecond, 'TThird, 'TFourth, 'TReturn> *
?splitOn : string *
?buffered : bool
(* Defaults:
let _splitOn = defaultArg splitOn "id"
let _buffered = defaultArg buffered true
*)
-> IEnumerable<'TReturn>
Parameters
- func
- Type: SystemFuncTFirst, TSecond, TThird, TFourth, TReturn
- splitOn (Optional)
- Type: SystemString
- buffered (Optional)
- Type: SystemBoolean
Type Parameters
- TFirst
- TSecond
- TThird
- TFourth
- TReturn
Return Value
Type:
IEnumerableTReturnSee Also