如何选择消息联系人或数据联系人. [英] How to chose Message Contact or Data Contact.

查看:145
本文介绍了如何选择消息联系人或数据联系人.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨团队...

如何选择消息联系人或数据联系人.
可以说,如果我有一个表单可以在客户/产品"表中保存客户详细信息/产品信息.因此,根据表中可用的列数,我将其作为数据联系人或消息联系人放在我的wcf服务中,即我的个人看法.如何选择数据联系人或消息联系人.与数据联系相比,消息联系有哪些优点/缺点?
1)什么时候应该进行数据联系,什么时候不应该.
1)什么时候应该通过消息联系,什么时候不应该.
请问有没有人可以帮助我...

提前致谢.
Prasanta Kumar Pradhan

Hi Team...

How to chose Message Contact or Data Contact.
Lets say if i have a form to save the customer details/Product detils , in Customer/Product table. So depending on the number of column avablible in the table , i put it as a Data contact or Message Contact in my wcf service i.e my confisuion . How to choose data contact or message contact. what are the advantages/Disadvantages of message contact over data contact .
1) When we should go through data contact ,When we should not.
1) When we should go through Message contact ,When we should not.
Can any body plz Help me...

Thank''s in Advance.
Prasanta Kumar Pradhan

推荐答案

此链接将为您提供" WCF消息合同"的概念.
使用消息合同

该链接将为您提供有关" WCF数据合同"的详细信息.
使用数据合同

老实说,我从有趣的讨论话题下面找到了有用的链接,这些话题与您正在寻找的主题相同.
MessageContract与DataContract
This link will give you idea of "WCF Message Contracts".
Using Message Contracts

This link will provide you details around "WCF Data Contracts".
Using Data Contracts

To be honest, I got above useful links from below interesting discussion thread on the same topic which you are looking for.
MessageContract vs DataContract


这篇关于如何选择消息联系人或数据联系人.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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