I'm trying to create async calls to SQL Server CE 4 database. As I understand there is no asynchronous processing param for connection string and BeginExecuteReader
command for the command object. My aim is to provide async calls to SELECT
command to make big lists in app work faster and more responsive to user, no need for full CRUD.
So is there any good solution for that? And whether it is worth go async in this situation? Right now I have sync calls for all my SQL Server CE commands and open/close connection for each call.
I know how to make basic async calls but in this situation i'm not quite sure this is a right decision. The first idea is to leave connection always opened and just call it in async manner. Not trying yet but feel like it is not right way.
Appreciate any suggestions and ideas.