Passing parameters to an OData (GET) method which returns a collection

前端 未结 2 2009
别跟我提以往
别跟我提以往 2021-01-27 01:18

I am using OData v3. How do I pass a parameter to an OData controller and return a collection? Example of what I am trying to do:



        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 01:55

    This was recently fixed with the release of version 5.7 (@odata.count is now returned for collections of complex types). More info here: https://github.com/OData/WebApi/issues/484#issuecomment-153929767

提交回复
热议问题