Click here to Skip to main content
15,920,217 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Adding layers Pin
Not Active25-Feb-11 10:23
mentorNot Active25-Feb-11 10:23 
GeneralRe: Adding layers Pin
Sander Rossel25-Feb-11 12:44
professionalSander Rossel25-Feb-11 12:44 
GeneralRe: Adding layers Pin
Not Active25-Feb-11 13:43
mentorNot Active25-Feb-11 13:43 
GeneralRe: Adding layers Pin
Sander Rossel25-Feb-11 22:20
professionalSander Rossel25-Feb-11 22:20 
GeneralRe: Adding layers Pin
jschell26-Feb-11 13:49
jschell26-Feb-11 13:49 
AnswerRe: Adding layers Pin
Eddy Vluggen25-Feb-11 23:02
professionalEddy Vluggen25-Feb-11 23:02 
GeneralRe: Adding layers Pin
Sander Rossel26-Feb-11 1:03
professionalSander Rossel26-Feb-11 1:03 
GeneralRe: Adding layers Pin
Eddy Vluggen26-Feb-11 6:01
professionalEddy Vluggen26-Feb-11 6:01 
Naerling wrote:
And the question remains if it is even a con that you lose functionality if you weren't using the functionality in the first place.

You only loose functionality if you demand that "only" those routines are allowed to do database-access. I don't see any value whatsoever in such a restriction.

Naerling wrote:
Let's say your company ONLY uses the command object to execute stored procedures (some weird company policy)

I'd be looking for a position in a different company - I wouldn't want to work at a carpenters shop where they only use 2-inch nails either, always becomes a mess Smile | :)

Naerling wrote:
would it really be that bad if you would build a class that does not support the CommandType.TableDirect or Text anymore?

Yes, simply because you're obviously not familiar with the consequences. There's always a use-case that doesn't fit the "neat" scenario, otherwise you'd bu simply using Microsoft Access (it offers most functionality most db-applications tend to generalize)

What happens when I need to load a lot from the database? You could write routines for all cases, but then you'd prolly end up with more than a "few" routines. That's where objects win over procedural programming; we can recombine with it all as required, and I could replace the database with a plain textfile by providing my own IDbConnection.
I are Troll Suspicious | :suss:

AnswerRe: Adding layers Pin
Richard MacCutchan25-Feb-11 23:13
mveRichard MacCutchan25-Feb-11 23:13 
GeneralRe: Adding layers Pin
Sander Rossel26-Feb-11 1:05
professionalSander Rossel26-Feb-11 1:05 
GeneralRe: Adding layers Pin
Richard MacCutchan26-Feb-11 2:18
mveRichard MacCutchan26-Feb-11 2:18 
GeneralRe: Adding layers Pin
Sander Rossel26-Feb-11 4:06
professionalSander Rossel26-Feb-11 4:06 
GeneralRe: Adding layers Pin
Not Active26-Feb-11 4:55
mentorNot Active26-Feb-11 4:55 
GeneralRe: Adding layers Pin
Richard MacCutchan26-Feb-11 5:39
mveRichard MacCutchan26-Feb-11 5:39 
GeneralRe: Adding layers Pin
jschell26-Feb-11 14:06
jschell26-Feb-11 14:06 
GeneralRe: Adding layers Pin
Richard MacCutchan26-Feb-11 21:35
mveRichard MacCutchan26-Feb-11 21:35 
GeneralRe: Adding layers Pin
jschell27-Feb-11 8:00
jschell27-Feb-11 8:00 
AnswerRe: Adding layers Pin
N a v a n e e t h26-Feb-11 14:52
N a v a n e e t h26-Feb-11 14:52 
GeneralRe: Adding layers Pin
Eddy Vluggen27-Feb-11 1:57
professionalEddy Vluggen27-Feb-11 1:57 
GeneralRe: Adding layers Pin
Sander Rossel27-Feb-11 11:15
professionalSander Rossel27-Feb-11 11:15 
AnswerRe: Adding layers Pin
Nitin Singh India21-Mar-11 7:18
Nitin Singh India21-Mar-11 7:18 
GeneralRe: Adding layers Pin
Sander Rossel21-Mar-11 7:57
professionalSander Rossel21-Mar-11 7:57 
Questionhow to access share without mapping in code behind (windows apps) Pin
byka25-Feb-11 4:51
byka25-Feb-11 4:51 
AnswerRe: how to access share without mapping in code behind (windows apps) Pin
Not Active25-Feb-11 10:15
mentorNot Active25-Feb-11 10:15 
GeneralRe: how to access share without mapping in code behind (windows apps) Pin
byka25-Feb-11 10:32
byka25-Feb-11 10:32 

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.