Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linq and stored procedures
Message
From
09/06/2010 12:47:39
 
 
To
09/06/2010 08:21:52
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
C# 3.0
Database:
MS SQL Server
Miscellaneous
Thread ID:
01468056
Message ID:
01468093
Views:
59
>Hi all,
>
>In thinking about the use of Linq for retrieving data from SQL Server or in paticular via the Entity Framework, I have been wondering about the role of stored procedures. It has been my thinking for quite some time that using stored procedures was a best practice and often a requirement. Now with Linq, how is this practice affected?

Hi,
Sounds like there's really two questions in there:

(a) Given the option is it better to avoid SP's when using EF ?
and
(b) If you don't have the option then how well does EF handle them?

I suspect the answer to (a) is 'Yes' - and given that, until now at least, I've been able to take that option I don't really have an opinion on (b) :-}

I'm looking at it from a 'simplicity of coding' viewpoint - there may be good arguments to use SPs sometimes from a performance POV?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform