missing function when i upgraded form 5.2.0.0 to 5.6.0.0

Topics: ASP.NET Web API
Aug 22, 2013 at 8:32 PM
hi
i had to parralels project and i tried to merge them, i took from nuget the latest stable of odata (5.6)
and i got errors in
entitySet.HasIdLink(eic => eic.GenerateSelfLink(false), false);

entitySet.HasNavigationPropertyLink(hasMany, (z, y) =>
        {
            return z.GenerateNavigationPropertyLink(y, false);
        }, false);
Error 42 'System.Web.Http.OData.EntityInstanceContext<T>' does not contain a definition for 'GenerateNavigationPropertyLink' and no extension method 'GenerateNavigationPropertyLink' accepting a first argument of type 'System.Web.Http.OData.EntityInstanceContext<T>' could be found (are you missing a using directive or an assembly reference?) D:\SM\Situator_7_4\WebAPIServerV2\ThirdPartyWebAPI\App_Start\WebApiConfig.cs 704 26 ThirdPartyWebAPI
Error 43 'System.Web.Http.OData.EntityInstanceContext<T>' does not contain a definition for 'GenerateSelfLink' and no extension method 'GenerateSelfLink' accepting a first argument of type 'System.Web.Http.OData.EntityInstanceContext<T>' could be found (are you missing a using directive or an assembly reference?) D:\SM\Situator_7_4\WebAPIServerV2\ThirdPartyWebAPI\App_Start\WebApiConfig.cs 729 44 ThirdPartyWebAPI

what is wrong?

thanks
Aug 22, 2013 at 9:55 PM
Those are extension methods in System.Web.Http.OData.Builder. Did you forget the using directive?
Aug 23, 2013 at 4:42 AM
didnt get it in nuget
how can i get it?
Aug 23, 2013 at 4:47 AM
strange, i have it but i dont see those functions in it