title: EF Core - Async functions are blocking UI
body: <p>maybe I am wrong and this is actually ok behaviour, but then I dont get, why they would even put the async postfix to the method name and make it awaitable.</p>
  <p>Just to easily reproduce, this is enough:</p>
  <pre><code>private async void Button_Click(object sender, RoutedEventArgs e)
  {
      using var ctx = new eWMSContext();
      var a = await ctx.TJobLines.ToListAsync();
  }
  </code></pre>
  <p>This call blocks UI even though it seems it shouldn't and wrapping it to <code>Task.Run</code> doesn't seem logical.</p>
  <p>I was unable to find any resource why is it happening.</p>
  <p>This resource explains, that it should not block UI, but it does:
  <a href="https://docs.microsoft.com/lt-lt/ef/core/miscellaneous/async" rel="nofollow noreferrer">https://docs.microsoft.com/lt-lt/ef/core/miscellaneous/async</a></p>
  <p>I'm using (all are latest for .NET Core 3.1):<br />
  EF Core 3.1.12<br />
  Oracle.EntityFrameworkCore 3.19.80<br />
  Oracle.ManagedDataAccess.Core 2.19.101</p>