ExecuteSqlCommand of EF always return -1
<pre><code>        DbContext.Database.ExecuteSqlCommand(sql, parameters)
</code></pre>

<p>I am using above method of Entity Framework to execute SP which takes table valued parameter and perform some operation.</p>

<p>It is successfully doing its task and I can see the result in the database. But it always return -1, no matter the query is successfully executed or not. I think, it should return 1 if the query execution is successful.</p>

<p>Could someone clarify me. Thanks</p>