Nevigation Properties in Derived Entities - VS 2012 RRS feed

  • Question

  • I am testing my WCF data service, in VS 2012 on windows 8, from my browser. Specifically I am testing the navigation properties associated with the derived entities and the navigation properties do not seem to work. Here is the oData url request;


    The 'Elements' is the root entity set

    The 'Sentagon.Web.Data.Group' is a derived entity from the 'Element'

    The 'GroupOwner' is a navigation property of the 'Group'

    Result of this query is 'HTTP 400 - The webpage cannot be found' although I should be getting an 'Element' as the owner of the 'Group' entity.

    I think I should cast the 'http://localhost:3816/SentagonDataService.svc/Elements(4L)?$filter=isof('Sentagon.Web.Data.Group')' to the 'Sentagon.Web.Data.Group' prior to applying the 'GroupOwner' navigation property but I am not sure if the cast is even supported.

    • Moved by Peter pi - MSFT Wednesday, June 27, 2012 1:29 AM (From:Windows Communication Foundation (WCF))
    Wednesday, June 20, 2012 3:00 PM

All replies