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

.NET (Core and Framework)

 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 23:20
Colin Angus Mackay12-Apr-09 23:20 
GeneralRe: Database connection Pin
EmZan12-Apr-09 23:36
EmZan12-Apr-09 23:36 
GeneralRe: Database connection Pin
Colin Angus Mackay12-Apr-09 23:52
Colin Angus Mackay12-Apr-09 23:52 
GeneralRe: Database connection Pin
EmZan13-Apr-09 0:05
EmZan13-Apr-09 0:05 
GeneralRe: Database connection Pin
Colin Angus Mackay13-Apr-09 0:14
Colin Angus Mackay13-Apr-09 0:14 
GeneralRe: Database connection Pin
EmZan13-Apr-09 2:11
EmZan13-Apr-09 2:11 
GeneralRe: Database connection Pin
dojohansen14-Apr-09 22:21
dojohansen14-Apr-09 22:21 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 0:11
Colin Angus Mackay15-Apr-09 0:11 
dojohansen wrote:
he appears to be one of those dogmatic people who think that there is one way that is "the best" regardless of circumstances.


I don't think I am. I mearly dislike DataAdapters/DataSets/DataTables. I'm find them incredibly cluncky for what they do. I much prefer to get the data into my business model as quickly as I can. I do appreciate that for quick throwaway applications DataAdapters can server a very good shortcut and I do use them on those occasion. But, for most things I think they are too unweildly and clunky.

If I am going for a purely ADO.NET approach I'd use a DataReader with a factory pattern to generate my objects. Alternatively I'd use an ORM like NHibernate.


dojohansen wrote:
In my view, very few dogmas are of any use in programming.


That's true. Framework features exist for a reason and while I think that the number of use cases for certain features are quite low, there are times where I think they work best for the given circumstances.


GeneralRe: Database connection [modified] Pin
dojohansen15-Apr-09 0:59
dojohansen15-Apr-09 0:59 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 1:57
mvePete O'Hanlon15-Apr-09 1:57 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 2:18
dojohansen15-Apr-09 2:18 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 2:33
Colin Angus Mackay15-Apr-09 2:33 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 2:58
dojohansen15-Apr-09 2:58 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 4:27
mvePete O'Hanlon15-Apr-09 4:27 
GeneralRe: Database connection Pin
Colin Angus Mackay15-Apr-09 2:26
Colin Angus Mackay15-Apr-09 2:26 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 3:27
dojohansen15-Apr-09 3:27 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 3:30
dojohansen15-Apr-09 3:30 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 3:36
dojohansen15-Apr-09 3:36 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 1:54
mvePete O'Hanlon15-Apr-09 1:54 
GeneralRe: Database connection Pin
dojohansen15-Apr-09 2:40
dojohansen15-Apr-09 2:40 
GeneralRe: Database connection Pin
Pete O'Hanlon15-Apr-09 4:38
mvePete O'Hanlon15-Apr-09 4:38 
AnswerRe: Database connection Pin
Colin Angus Mackay11-Apr-09 6:24
Colin Angus Mackay11-Apr-09 6:24 
AnswerRe: Database connection Pin
Fernando Soto11-Apr-09 8:09
Fernando Soto11-Apr-09 8:09 
AnswerRe: Database connection Pin
PIEBALDconsult13-Apr-09 4:16
mvePIEBALDconsult13-Apr-09 4:16 
AnswerRe: Database connection Pin
dojohansen14-Apr-09 22:02
dojohansen14-Apr-09 22:02 

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.