The GridControl supports the following regular sources:
Regular virtual sources raise events consecutively in the UI Thread and process data in a single separate Working Thread.
The image below illustrates the workflow:
Only values of the Char, SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Decimal, DateTime, String, Guid, Enum types are available in the UI Thread.
For other types, the UI Thread creates thread-safe proxy objects. You can allow access to these values in the following ways:
The GridControl supports the following async sources:
Async virtual sources raise events in the UI Thread and process data in parallel Working Threads. You have to provide tasks to these events to obtain summaries, rows, etc.
Async virtual sources have the following advantages because they fetch rows in parallel threads:
Use the async virtual sources in the following cases:
A data source supports asynchrony (for example, .NET MongoDB Driver provides methods to perform multiple requests at the same time).
You can create a new data access object (for example, DbContext) for every request.
Do not use async sources if a data access object