Click here to Skip to main content
15,916,692 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: Unlikely jump in Organiser points. Pin
Kenneth Haugland18-Oct-13 21:50
mvaKenneth Haugland18-Oct-13 21:50 
GeneralRe: Another: Unlikely jump in Organiser points. Pin
OriginalGriff18-Oct-13 21:59
mveOriginalGriff18-Oct-13 21:59 
JokeBartenders Pin
Christopher Duncan18-Oct-13 9:28
Christopher Duncan18-Oct-13 9:28 
GeneralRe: Bartenders Pin
  Forogar  18-Oct-13 11:42
professional  Forogar  18-Oct-13 11:42 
GeneralRe: Bartenders Pin
Gary R. Wheeler18-Oct-13 12:40
Gary R. Wheeler18-Oct-13 12:40 
GeneralRe: Bartenders Pin
Christopher Duncan18-Oct-13 12:42
Christopher Duncan18-Oct-13 12:42 
GeneralRe: Bartenders Pin
PIEBALDconsult18-Oct-13 13:23
mvePIEBALDconsult18-Oct-13 13:23 
GeneralAnother religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 9:25
Christopher Duncan18-Oct-13 9:25 
First of all, thanks very much to everyone who kicked in with thoughts regarding MVC. I'm currently doing some upgrades / installs for VS 2012 since I've been running 2010 so that I can give MVC 4 a go.

Since I'm reevaluating technologies, here's something I just don't get - but perhaps I'm missing something. A year or two ago I played with LINQ. Essentially, it's a nice little chunk of technology to move your db queries into your code.

My approach has traditionally been to use stored procedures, keeping SQL stuff in the database and procedural code / logic in the application. Why on earth would I want to move my queries into C# code?

As long as the params and columns returned don't change, I can make changes all day long in Sql Server and never touch web apps or services. If my db logic is in the code, I have to recompile and deploy the binaries every time I touch something.

I know it's the shiny new thing to play with but other than resume enhancement, I just don't see what value it brings to the table. What am I missing?

GeneralRe: Another religious question: LINQ vs stored procedures Pin
Dave Kreskowiak18-Oct-13 9:30
mveDave Kreskowiak18-Oct-13 9:30 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 9:38
Christopher Duncan18-Oct-13 9:38 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury18-Oct-13 9:47
professionalJoe Woodbury18-Oct-13 9:47 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 9:51
Christopher Duncan18-Oct-13 9:51 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury18-Oct-13 10:02
professionalJoe Woodbury18-Oct-13 10:02 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 10:12
Christopher Duncan18-Oct-13 10:12 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury18-Oct-13 10:22
professionalJoe Woodbury18-Oct-13 10:22 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 10:34
Christopher Duncan18-Oct-13 10:34 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury18-Oct-13 10:52
professionalJoe Woodbury18-Oct-13 10:52 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan18-Oct-13 11:31
Christopher Duncan18-Oct-13 11:31 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell18-Oct-13 12:57
jschell18-Oct-13 12:57 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell18-Oct-13 12:55
jschell18-Oct-13 12:55 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury18-Oct-13 14:27
professionalJoe Woodbury18-Oct-13 14:27 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell21-Oct-13 9:35
jschell21-Oct-13 9:35 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury21-Oct-13 9:58
professionalJoe Woodbury21-Oct-13 9:58 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
jschell18-Oct-13 12:52
jschell18-Oct-13 12:52 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Joe Woodbury18-Oct-13 14:22
professionalJoe Woodbury18-Oct-13 14:22 

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.