PowerPivot 多个 OData 服务相关
我正在使用 PowerPivot 处理 OData,我想知道是否可以将多个 OData 服务关联在一起?
我不想拥有一项庞大的 OData 服务,因为我想将其推广到我们所有的内部系统。我认为一项服务会变得混乱。
像这样的东西; http://hosting/Sales.svc http://hosting/Clients.svc http://hosting/Finance.svc
其中映射了一些关系。
有人知道我该怎么做吗?
谢谢, 迈克·门格尔
I'm playing around with OData with PowerPivot and I would like to know can I relate multiple OData services together?
I don't want to have one huge OData service as I want to roll this out for all of our internal systems. I think one service would get messy.
Something like;
http://hosting/Sales.svc
http://hosting/Clients.svc
http://hosting/Finance.svc
With some relationships mapped within.
Anyone know how I can do this?
Thanks,
Mike Mengell
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已经解决了。
在 PowerPivot 窗口中,您有一个设计选项卡。选择创建关系,您可以选择来自任何服务的实体,在我的例子中是 2 个 OData 服务。然后您选择关系的字段。
目前似乎没有任何自动关系创建。对我来说,这可能是我将其用于我的业务的障碍。
但如果您了解其中的关系,这个过程就不会那么痛苦。
我很快就会写一篇关于此的博客文章并将其发布在这里。
I've worked it out.
In the PowerPivot window you have a design tab. Select create relationship and you can select the enity which can be from any service, in my case it's 2 OData services. Then you select the field for the relationship.
At the moment there doesn't seem to be any automatic relationship creation. Which for me is probably a blocker on using this for my business.
But the process is painless if you understand about the relationships.
I'll write a blog post about this soon and post it here.
简单的;创建具有不同上下文/模型的三个服务。
--larsw
Easy; create three services with different Contexts / models.
--larsw