title: Entity Framework: Database.ExecuteSqlCommand Method
body: <p>So, I have a basic update statement I am running in my MVC 4 app. I am calling it like so (SQL Server 2008 R2, Entity Framework 5.0):</p>
  
  <pre><code>var requestData = requestInfo.Database.ExecuteSqlCommand("UPDATE TABLE Blah.. ");
  </code></pre>
  
  <p>The command completes successfully, but sometimes requestData returns 1, sometimes it returns 2. I cannot find any documentation or explanation of what these return values mean. I have looked here:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/gg679456(v=vs.103).aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/gg679456(v=vs.103).aspx</a></p>
  
  <p>But, it does not give any clear answer. </p>
  
  <p>If someone can toss out a link to something that explains the return values of this command I would be greatly appreciative.</p>