title: How to pass Stored Procedure with DateTime parameter in Entity Framework
body: <pre><code>public List&lt;Data&gt; GetData(string Date1, string Date2, string param3)
  {
      var myData= new List&lt;FindData_Result&gt;();
      using (var context = new Config())
      {
          var queryResult = context.FindData(startDate, endDate, param3);
          final= (from a in queryResult select a).ToList();
      }
  }
  </code></pre>
  
  <p>How do I pass date1 and end date2 as datetime parameter to my stored procedure?</p>
  
  <p>I am using MVC web api with entity framework (DB first approach)</p>