title: Database.SqlQuery calling stored procedure that has multiple output parameters
body: <p>I have a stored procedure like below which takes 1 input parameter ( Name ) and returns 2 output parameters( EmployeeId and Salary). Our stored procedure will insert Name into Employee table and give us back EmployeeId and Salary.</p>
  
  <pre><code>CREATE PROCEDURE dbo.insertemployee
  @iName varchar(500),
  @OEmployeeId int OUTPUT,  
  @OSalary Money OUTPUT
  </code></pre>
  
  <p>We are using EF Code First approach. I am able to insert records into employee table and cannot find how I can access my two output parameters. I know that I need to use like below. Can anybody tell me what must be Result. According to MSDN, it can be a class that has column names as properties. But my case is that we are not returning columns of my table but we are using two output parameters and I need know how to access those two output parameters @OEmployeeId and @OSalary.</p>
  
  <pre><code>context.Database.SqlQuery&lt;Result&gt;(" exec dbo.insertemployee....);
  
  public class Result
  {
     // what properties I must give here       
  }
  </code></pre>