Click here to Skip to main content
15,921,382 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury21-Oct-13 9:52
professionalJoe Woodbury21-Oct-13 9:52 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell22-Oct-13 7:55
jschell22-Oct-13 7:55 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
User 483504718-Oct-13 10:07
User 483504718-Oct-13 10:07 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 10:13
Christopher Duncan18-Oct-13 10:13 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
User 483504718-Oct-13 10:56
User 483504718-Oct-13 10:56 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Ranjan.D18-Oct-13 10:44
professionalRanjan.D18-Oct-13 10:44 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 10:50
Christopher Duncan18-Oct-13 10:50 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Ranjan.D18-Oct-13 11:08
professionalRanjan.D18-Oct-13 11:08 
Quote:
What benefit do I gain by moving queries out of stored procedures and into compiled code?


I see two different set of peoples arguing about the Usage , Performance, Benefits of Stored Procedures , it's maintainability etc. I'm fine with either way.

I don't know how you really want to go with, I say it depends on how we are deciding to go with. That's the reason I said , The Entity Framework doesn't really restricts the usage of Stored Procs , You can still make a call but what you get with EF is the result set as object. Is it good Smile | :)

I think if you are planning to move out the queries out of Stored Proc, you will end up in writing tons on code, though it's compiled I don't think there would be a great benefit. Some times you might even end up with performance issues.

I have seen several hundreds to thousands lines of stored procedures, If some one tells me to move them out of it to EF compiled queries , I would question why I'm doing this ?

If you are working on some new products and wish to tryout EF with mix and match SP's it's good. But I don't think it's a good idea to perform code re-factoring for the existing ones.

Thanks,
Ranjan.D

GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 11:44
Christopher Duncan18-Oct-13 11:44 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Jörgen Andersson18-Oct-13 11:10
professionalJörgen Andersson18-Oct-13 11:10 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 11:11
Christopher Duncan18-Oct-13 11:11 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Rutvik Dave18-Oct-13 10:56
professionalRutvik Dave18-Oct-13 10:56 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 11:45
Christopher Duncan18-Oct-13 11:45 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell18-Oct-13 12:46
jschell18-Oct-13 12:46 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 15:04
Christopher Duncan18-Oct-13 15:04 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell21-Oct-13 9:15
jschell21-Oct-13 9:15 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan21-Oct-13 10:18
Christopher Duncan21-Oct-13 10:18 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Mycroft Holmes18-Oct-13 12:48
professionalMycroft Holmes18-Oct-13 12:48 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 15:07
Christopher Duncan18-Oct-13 15:07 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
PIEBALDconsult18-Oct-13 13:22
mvePIEBALDconsult18-Oct-13 13:22 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 15:11
Christopher Duncan18-Oct-13 15:11 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Marc Clifton18-Oct-13 13:27
mvaMarc Clifton18-Oct-13 13:27 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 14:55
Christopher Duncan18-Oct-13 14:55 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
GuyThiebaut19-Oct-13 3:55
professionalGuyThiebaut19-Oct-13 3:55 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan19-Oct-13 6:10
Christopher Duncan19-Oct-13 6:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.