Raw query in ASP.Net Core
<p>I'm coming from a PHP background where you create a PDO Object and can query right away.</p>

<p>I have a database from which I extract data which, for example, is a list of Object -> Quantity (Example Items sales). This is part of another application, I'm just writing an app to show some statistics.</p>

<p>I cannot find how to execute a raw query in ASP.Net Core and have a IEnumerable object. All examples use Entity Framework and a model (which I don't have in my current app, because it's full of raw sql queries).</p>