title: Using SQL Server named parameters with ExecuteStoreQuery and ExecuteStoreCommand
body: <p>I am trying to use SQL Server named parameters with <code>ObjectContext.ExecuteStoreQuery</code> and <code>ObjectContext.ExecuteStoreCommand</code> when calling a stored procedure or a function directly.</p>
  
  <p>SQL Server named parameters are not the same with the Entity Framework named parameters - they allow me to execute a query similar with this one:</p>
  
  <pre><code>EXEC sp_GetData @firstParameter = 1, @thirdParameter = 2, @secondParameter = 1
  </code></pre>
  
  <p>The order of the parameters in this query does not matter as opposed with Entity Framework named parameters that are evaluated in order.</p>
  
  <p>I want to use SQL Server named parameters with Entity Framework so that if the order of the parameters is changed in the stored procedure the Entity Framework code calling it is not affected.</p>