title: Should I check a CancellationToken before calling EF or allow EF to check it itself?
body: <p>I am adding CancellationTokens into my .NET Core + EF application.</p>
  <p>Should I check for cancellation before calling EF, or should I pass the cancellation token to EF and trust that EF will check it itself before starting any work?</p>
  <p>&quot;Trust EF to check&quot; approach:</p>
  <pre><code>...
  
  _context.Users.ToListAsync(cancellationToken);
  
  ...
  </code></pre>
  <p>&quot;Check myself&quot; approach:</p>
  <pre><code>...
  
  cancellationToken.ThrowIfCancellationRequested();
  _context.Users.ToListAsync(cancellationToken);
  
  ...
  </code></pre>
  <p>Which approach is recommended?</p>