逐步将数据库连接到WCF服务 [英] Connect step by step the database to WCF service

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

问题描述

大家好,

我想将数据库(SQL Server 2008 R2)连接到创建的示例WCF服务.

很明显,我直到现在还没有创建任何客户端,也不想创建客户端,并且我仅使用WCF Test Client测试我的WCF服务...

现在我的意思是,

1.如何逐步将数据库连接到WCF服务...

2.我们可以通过几种方式将数据库连接到WCF服务.
为我提供任何有用的链接,并在此先感谢....

Hi all,

I want to connect the database (sql server 2008 R2) to my sample WCF service created.

It is very clear that i did not created any client till now and do not want to create client too and i am testing my WCF service using WCF Test Client only...

Now my point is,

1. How to connect step by step the database to WCF service...

2. In How many ways can we connect database to WCF Services..

Provide me any usefull links and thanks in advance....

推荐答案

请参阅此链接,您可能会有所了解
在WCF中启用交易的6个步骤[^] [ ^ ]
see this link you may get some idea
6 Steps to Enable Transactions in WCF[^][^]



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

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