Click here to Skip to main content
15,916,527 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
Ranjan.D18-Oct-13 11:08
professionalRanjan.D18-Oct-13 11:08 
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 
jschell wrote:
After all why would anyone want a database layer in their application

You're making the assumption that I was stipulating a 2 tier app. As I told Marc, even if you have a db layer, ultimatey you either write your queries in a compiled language or you put them in sql procs in your db. I'm not seeing the benefit of the former.
jschell wrote:
Being a bit sarcastic lets suppose that you are less than a DB guru when it comes to your database. And no one else is either. And something is wrong with your database. You don't even know what.

Well, since you're invoking sarcasm, I'd say that if your team is that inept, perhaps you should all just step away from the keyboard. Perhaps a career change might even be in order. Smile | :)

Seriously, though, incompetence is not a reason to choose an architecture, although tool manufacturers make good money trying to make programming easy for those who should never be attempting it in the first place.

As for refactoring, if you make major changes to your database schema, you will absolutely be refactoring your code, whether it's LINQ or ADO. It's simply a matter of where - inside or outside of your business objects. Perhaps both. And as an aside, you don't need LINQ to create a collection of absracted business objects. We've been doing that since the days of DOS / C++.

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 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
PIEBALDconsult19-Oct-13 19:28
mvePIEBALDconsult19-Oct-13 19:28 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
GuyThiebaut20-Oct-13 1:22
professionalGuyThiebaut20-Oct-13 1:22 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
_Maxxx_20-Oct-13 13:03
professional_Maxxx_20-Oct-13 13:03 
GeneralRe: Another religious question: LINQ vs stored procedures Pin
Christopher Duncan21-Oct-13 1:06
Christopher Duncan21-Oct-13 1:06 
NewsMacBook Air systems sold between June 2012-June 2013 might need replacement drive Pin
Kevin Priddle18-Oct-13 9:00
professionalKevin Priddle18-Oct-13 9:00 
GeneralRe: MacBook Air systems sold between June 2012-June 2013 might need replacement drive Pin
Maximilien18-Oct-13 9:02
Maximilien18-Oct-13 9:02 
RantWindows Update Cleanup Pin
Rutvik Dave18-Oct-13 7:23
professionalRutvik Dave18-Oct-13 7:23 

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.