域数据源 +域服务
是否可以将 DomainDataSource 控件与普通的 DomainService 一起使用?我想对非实体数据进行分页/排序。
Is it possible to use the DomainDataSource control with a plain DomainService? I want to page/sort non-entity data.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,如果您构建了 DomainService,它将作为 DomainContext 可用。然后您可以在 DomainDataSource.DomainContext 属性中使用它。 MSDN 中的一个简单示例
Yes, if you build your DomainService, it will become available as a DomainContext. then you can use it inside your DomainDataSource.DomainContext property. A simple example from MSDN