I am having the problem that the following code is producing a deadlock:
public async Task Test()
{
var man = new EntityManager();
var result = await (man.GetQuery<OrderEntity>().ExecuteAsync()).ConfigureAwait(false);
}
// calling this method by using:
Test().Wait();
When I test this method by using Task.Delay(1000) I get the expected deadlock and by using Task.Delay(1000).ConfigureAwait(false) it works fine. It seems that ConfigureAwait does not work as expected when executing queries.