title: How to execute raw sql query with in entity framework?
body: <p>I'm using asp.net mvc 3 with entity framework 5. I have my .edmx file &amp; able to interact with my database using linq or SP, but I want to run some raw sql statement. I'm trying something like this:</p>
  
  <pre><code>Using(var ctx=new HREntities())
  {
    ctx.Database.ExecuteSqlCommand("insert into Employees values {0}, {1}",   model.EMPLOYEEID, model.EMPLOYEENAME);
    ctx.SaveChanges();
  }
  </code></pre>
  
  <p>is it possible to execute sql query this way? Thanks.</p>