Hi,
Is there a way to speed up how fast dataStore.Retrieve() retrieves all rows? Or can i split up the Retrieve() in some sort of way using multithreading. For example this is what I'm thinking, could I get the count of all rows, split it up N times, and then do a retrieve for each N. If possible what is the best way to speed up a Retrieve?
edit: it seems I can RetrieveByPage(3, 10) which would get me rows 3 to 10. But how could I find the max row count? In other words I need to prevent the end parameter from going out of bounds and the only way to do this is to find what the max row count is. dataStore.Retrieve() will give my the max row count but that would defeat the purpose of what I am trying to accomplish.
p.s Sorry for more questions :)
Summary:
I get the expected rowcount, and I have a variable loaded with the maximum number of rows allowed before asking the user if they would like to continue. I also have a progress meter with a CANCEL button on it that still stop the retrieval at the point the CANCEL button is pushed. As each multiple of the variable max_count is reached, I prompt the user if they would like to continue.