title: How to turn EF Core warnings about locally evaluated expressions to errors?
body: <p>Is it possible to turn Entity Framework Core warnings about locally evaluated expressions into errors? I'd like to force myself to always write properly evaluated queries.</p>
  
  <blockquote>
    <p>Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression '(...)' could not be translated and will be evaluated locally.</p>
  </blockquote>