Property UseAsyncRead
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
UseAsyncRead
By default (false), for async methods, the underlying iteration operation for a reader will be .Read() whenever possible. If set to true, .ReadAsync() will be used. Using .ReadAsync() can introduce unexpected latency and additional CPU overhead. This should only be set to true if there is a clear reason why and should be profiled before and after.
public bool UseAsyncRead { get; set; }