I am currently following this guide -> Link to asp.net website
As the guide says I added all the necessary packages via the nuget console and added the necessary usings
If you have upgraded to Microsoft.AspNet.OData 7.0.0 then the namespace you are looking for is:
Microsoft.AspNet.OData 7.0.0
using Microsoft.AspNet.OData.Extensions;