Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi ,
i am developing an WCF REStful service,i want to know which is better for developing this.
whether to use ado.net Entity model or by using SQL connections.
Please help me regarding this.
Posted

Any one of them will work.
It won't make any difference to the clients that will consume your service.
Take the one that you're more comfortable...
 
Share this answer
 
Hi,

The type of approach is purely based on the Application and how you are using it.

Entity Framework : This is very easy once you are fine with LINQ query, where the Connection and handling data will be taken care by Entity Frame work.

Linq will be very easy and simple way to query a large data.


REST with WCF and Entity Framework with JSON Serialization[^]
 
Share this answer
 
Comments
ravithejag 15-Nov-13 4:08am    
Hi Bhuvanesh, I will be using Store Procs for this
Six simple steps to use a Stored Procedure in LINQ[^]

try with this


I hope it helps u

-- Md . Suhel Ahamad
 
Share this answer
 
v4
Hi,

The type of approach is purely based on the Application and how you are using it.

Entity Framework : This is very easy once you are fine with LINQ query, where the Connection and handling data will be taken care by Entity Frame work.

Linq will be very easy and simple way to query a large data.
 
Share this answer
 

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