title: InvalidOperationException - When executing a command, parameters must be exclusively database parameters or values
body: <p>When I run the following ExecuteStoreQuery consitently throws an InvalidOperationException with the following message:</p>
  
  <p>When executing a command, parameters must be exclusively database parameters or values.</p>
  
  <pre><code>        SqlParameter param1 = new SqlParameter("@pNetworkHealthAssessmentID", pNetworkHealthAssessmentID);
          SqlParameter param2 = new SqlParameter("@pRiskAssessmentQuestionsID", pRiskAssessmentQuestionsID);
          SqlParameter param3 = new SqlParameter("@pUserID", UserID);
          SqlParameter param4 = new SqlParameter("@pSortOrder", pSortOrder);
  
          var result = db.Database.ExecuteSqlCommand("sp_RiskAssessmentQuestion_Copy2Network @pNetworkHealthAssessmentID, @pRiskAssessmentQuestionsID, @pUserID", "@pSortOrder",
                                        param1, param2, param3, param4)
  </code></pre>
  
  <p>The Stored procedure's arguments look like this:</p>
  
  <pre><code> CREATE PROCEDURE [dbo].[sp_RiskAssessmentQuestion_Copy2Network] (
   @pNetworkHealthAssessmentID bigint
  ,@pRiskAssessmentQuestionsID bigint
  ,@pUserID bigint
  ,@pSortOrder int
  )
  </code></pre>
  
  <p>Stored Procedure doesn't return any value back. Why am I getting that exception? I have tried every possible solution but so far unsuccessful</p>