title: SQL vs LINQ performance
body: <p>We currently have a self-made entity framework that relies on a DB-indipendent ORM.</p>
  
  <p>I have to build a software that batch-loads metadata in the DB for about 150 excel template (with info on cell position, cell type, formatting and more).</p>
  
  <p>I can operate</p>
  
  <ul>
  <li><p>via SQL batch (faster but less interactive)</p></li>
  <li><p>via building objects in memory, processing them with LINQ queries for various integrity checks, and then committing modifications to the DB</p></li>
  </ul>
  
  <p>I know that SQL is absolutely faster, but I would know... <strong>how much is it faster?</strong></p>
  
  <p>In detail, how much is a SQL query faster then a LINQ query <em>(assuming that all needed data has been already loaded in memory by ORM)</em> ?</p>