WCF数据服务+简单的WCF服务 [英] WCF Data Service + simple WCF Service

查看:68
本文介绍了WCF数据服务+简单的WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我想使用WCF数据服务,因为它有数据查询功能(LINQ - 尝试使用LINQ和简单的WCF服务 - > cant serialize query tree) 。但是为了进行更新,我不希望客户端绕过业务逻辑(我知道 - 我可以扩展WCF
数据服务)。但是客户端应该使用WCF服务(例如UpdateCustomer)。

I want to use WCF Data Service because of its data querying features (LINQ - tried to use LINQ with simple WCF Service -> cant serialize query tree). But for making updates, i dont want the client to bypass the business logic (i know - i can extend WCF Data Services). But the client should use the WCF Service (e.g. UpdateCustomer).

我在几个月前尝试过,并且使用来自WCF数据服务的自我跟踪POCO并将它们传递给WCF服务时遇到问题。现在可以使用最新版本吗?有人知道吗?

I tried it several month ago and run into problems using self tracking POCOs from WCF Data Services and pass them to a WCF service. Is it now possible with the latest versions? Does anybody know?

非常感谢

Michael

 

推荐答案

您好,

您提到的行为在最新版本中没有改变。究竟是什么阻止您使用纯数据服务解决方案?

The behavior you mention hasn't changed in the latest release.What is exactly preventing you from using a pure data service solution?

问候,

Monica Frintu

Monica Frintu

 

 


这篇关于WCF数据服务+简单的WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆