Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ASP.NET Web API 2 中的 OData 支持嵌入式资源。是否有项目或示例可以证明这一点?
您可以使用命名流或媒体链接条目 (MLE)。在这里阅读。
命名流似乎更适合您的场景。这里有一个示例,展示了如何使用 Web API OData 中的扩展点来执行命名流。