title: How to run sql script with Entity Framework in .NET Core 1.0?
body: <p>I'd like to run sql scripts in an ASP.NET MVC Core 1.0 project. The answer here: <a href="https://stackoverflow.com/questions/32125937/can-we-run-sql-script-using-code-first-migrations">Can we run sql script using code first migrations?</a>
  pretty much explains exactly what I want to do, except that for this line:</p>
  
  <pre><code>Sql(File.ReadAllText(sqlFile));
  </code></pre>
  
  <p>it barks and says <em>"The name 'Sql' does not exist in the current context"</em>.
  I'm sure there must be a way in .NET Core 1.0.
  I'm just getting started with .NET Core 1.0, so it may be something simple that I'm missing.</p>