How to connect the database with wcf service

Posted by Kishore22 under WCF on 11/21/2013 | Points: 10 | Views : 9110 | Status : [Member] | Replies : 4
How to connect theHow to connect the database with wcf service database with wcf service How to connect the database with wcf service




Responses

Posted by: Bandi on: 11/21/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
refer
http://forums.asp.net/t/1730830.aspx
http://www.dotnetfunda.com/interviews/exclusive/show/776/can-we-see-simple-wcf-example-of-transactions-using-sql-server-databas


Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 11/22/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer
http://stackoverflow.com/questions/11837356/wcf-service-with-database


Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 11/22/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi, you can do this in a number of different ways.
1. Entity Framework with WCF Data Services
2. Straight Entity Framework
3. LINQ to SQL classes
4. SQLClient
5. OLEDB Data Adapter
That's just to name a few.

See the link below:-

http://msdn.microsoft.com/en-us/magazine/ee336128.aspx
http://www.intstrings.com/ramivemula/articles/create-a-simple-wcf-service-against-pubs-database-using-ef-linq-part-i/

Happy Coding,
If it helps you or directs U towards the solution, MARK IT AS ANSWER

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: t5j9033387989 on: 11/28/2013 [Member] Starter | Points: 25

Up
0
Down
check also this one,

http://www.codeproject.com/Articles/38793/6-Steps-to-Enable-Transactions-in-WCF

mark this answer if it will really help you,

Thanks&Regards
ketan

Kishore22, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response