Асинхронная загрузка из БД [закрыто] ⇐ C#
-
Гость
Асинхронная загрузка из БД [закрыто]
I have a controller that sends data from DB to Rest API. My idea is to send data as soon as first 10k records are loaded and while data is sending - continue loading records from DB, send it when new 10k is loaded etc... Is there an option to jump out of the thread while continue executing it ?
I'm getting my data from procedure(MS SQL Server) + ado.net
Источник: https://stackoverflow.com/questions/781 ... ad-from-db
I have a controller that sends data from DB to Rest API. My idea is to send data as soon as first 10k records are loaded and while data is sending - continue loading records from DB, send it when new 10k is loaded etc... Is there an option to jump out of the thread while continue executing it ?
I'm getting my data from procedure(MS SQL Server) + ado.net
Источник: https://stackoverflow.com/questions/781 ... ad-from-db
Мобильная версия