0
優秀示例代碼:Support Composite Key in ASP.NET Web API OData 說明了如何創建路由約定以使WebApi OData能夠使用複合鍵。使用複合鍵的WebApi EntitySetController
然而,它使用ODataController(as one of the unanswered discussions on the sample code mentions),我認爲它有很多缺點(我還沒有完全發現)......有沒有人使用EntitySetController的好處創建了一個示例?
謝謝基蘭,這很有意思,你有沒有推薦的文章? –