title: OData SingleResult is Ambiguous in System.Web.Http
body: <p>I am new to using OData with a Web Api.  I have my models defined from a database first EF 6 method, and have added the OData controller.  The resulting code is erroring out on the following:</p>
  
  
  
  <pre class="lang-vb prettyprint-override"><code>&lt; EnableQuery &gt; _
  
      Public Function [Get](&lt;FromODataUri&gt; key As Integer) As SingleResult(Of Product)
          Dim result As IQueryable(Of Product) = db.Product.Where(Function(p) p.ID= key)
          Return SingleResult.Create(result)
      End Function
  </code></pre>
  
  <p>The error is on the SingleResult providing the following error: SingleResult is ambiguous in system.web.http.</p>
  
  <p>Any advice on what causes this error? Many thanks!</p>