S
Smokey Grindle
Is it possible to process data as it is pulled back in asyc mode? I want to
process records as they come back from the SQL Server basically and convert
them to local objects... which right now takes a lot of time doing it like
this
Load data table from SQL Reader
Loop through each data row
create object based on data row
End loop
Return collection of objects
I thought it would be neat to do it like this
Async Load of data from SQL Reader
Async returned a row, convert to object (1 per row)
Wait For Async to end (WaitOne basically)
Return collection
is this possible? if so how? thanks!
process records as they come back from the SQL Server basically and convert
them to local objects... which right now takes a lot of time doing it like
this
Load data table from SQL Reader
Loop through each data row
create object based on data row
End loop
Return collection of objects
I thought it would be neat to do it like this
Async Load of data from SQL Reader
Async returned a row, convert to object (1 per row)
Wait For Async to end (WaitOne basically)
Return collection
is this possible? if so how? thanks!