The AddQueryOption method returns a new instance of IQueryable. So you need to modify your code to do:
r = r.AddQueryOption("id", CompanyId); One other thing: The client library does not support reading responses to service operations returning enumeration of primitive or complex types. So for this to work the Equipment type must be an entity type.
No comments:
Post a Comment