Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
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....
Posted

see this link you may get some idea
6 Steps to Enable Transactions in WCF[^][^]
 
Share this answer
 
Comments
P_A_1 21-May-12 5:01am    
Hi naveen,
Thanks and
it is very similar to ASP.net + Sql server connection and helped me a little ...
Thanks...
vangapally Naveen Kumar 21-May-12 5:02am    
welcome......
P_A_1 21-May-12 5:10am    
Hi Naveen,
Just now,
my lead asked me to go in this approach only..
now it is really helping me....
 
Share this answer
 
Comments
P_A_1 21-May-12 5:03am    
Hi Raju,

Both the links are same but one is from codeproject and one more is from its official site...

That is all

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900