SqlMapperGridReaderReadTFirst, TSecond, TThird, TReturn Method (FuncTFirst, TSecond, TThird, 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, TReturn>(
Func<TFirst, TSecond, TThird, TReturn> func,
string splitOn = "id",
bool buffered = true
)
Public Function Read(Of TFirst, TSecond, TThird, TReturn) (
func As Func(Of TFirst, TSecond, TThird, TReturn),
Optional splitOn As String = "id",
Optional buffered As Boolean = true
) As IEnumerable(Of TReturn)
public:
generic<typename TFirst, typename TSecond, typename TThird, typename TReturn>
IEnumerable<TReturn>^ Read(
Func<TFirst, TSecond, TThird, TReturn>^ func,
String^ splitOn = L"id",
bool buffered = true
)
member Read :
func : Func<'TFirst, 'TSecond, 'TThird, 'TReturn> *
?splitOn : string *
?buffered : bool
(* Defaults:
let _splitOn = defaultArg splitOn "id"
let _buffered = defaultArg buffered true
*)
-> IEnumerable<'TReturn>
Parameters
- func
- Type: SystemFuncTFirst, TSecond, TThird, TReturn
- splitOn (Optional)
- Type: SystemString
- buffered (Optional)
- Type: SystemBoolean
Type Parameters
- TFirst
- TSecond
- TThird
- TReturn
Return Value
Type:
IEnumerableTReturnSee Also