MaxExpansionDepth with latest webapi and breeze

后端 未结 1 398
走了就别回头了
走了就别回头了 2021-01-18 00:42

I have recently updated all of my nuget packages to the latest for EF6, breeze 1.4.5, system.web.http.odata 5.0.0.0, and all the other good bits available.

Now, with

相关标签:
1条回答
  • 2021-01-18 01:05

    you need to add a BreezeQueryable attribute to your breeze controller IQueryable method like this ...

        [BreezeQueryable(MaxExpansionDepth = 3)]
        public IQueryable<Customer> Customers()
        {
            ...
        }
    
    0 讨论(0)
提交回复
热议问题