Click here to Skip to main content
15,896,503 members
Home / Discussions / C#
   

C#

 
Questionfinding average Pin
viru0417-Jan-07 21:25
viru0417-Jan-07 21:25 
AnswerRe: finding average Pin
Stefan Troschuetz17-Jan-07 21:32
Stefan Troschuetz17-Jan-07 21:32 
GeneralRe: finding average Pin
Russell Jones17-Jan-07 22:51
Russell Jones17-Jan-07 22:51 
QuestionBest Data Access Objects in .NET? Pin
Blumen17-Jan-07 21:08
Blumen17-Jan-07 21:08 
AnswerRe: Best Data Access Objects in .NET? Pin
il_masacratore17-Jan-07 22:07
il_masacratore17-Jan-07 22:07 
GeneralRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon17-Jan-07 23:27
mvePete O'Hanlon17-Jan-07 23:27 
GeneralRe: Best Data Access Objects in .NET? Pin
il_masacratore17-Jan-07 23:41
il_masacratore17-Jan-07 23:41 
GeneralRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon17-Jan-07 23:55
mvePete O'Hanlon17-Jan-07 23:55 
I agree that time constraints are a problem, but this is where a tool like CodeSmith comes into its own. We have a base set of objects that we have created and fine-tuned (for things like the base collections, the base item objects and so on). We then generate our standard stored procedures implementation classes and unit tests from this. This means that, once we have a data model defined, we can generate the entire DataLayer in one go.

Anything like validation that needs to be performed is handled in a derived class, so that if we regenerate the code, we don't lose our custom logic.

Yes, getting the base objects and CodeSmith templates into a fashion that you are happy with does take some time. But once you are happy with the way your objects work, generating new classes takes almost no time.


the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer

Deja View - the feeling that you've seen this post before.

GeneralRe: Best Data Access Objects in .NET? Pin
il_masacratore18-Jan-07 0:04
il_masacratore18-Jan-07 0:04 
GeneralRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon18-Jan-07 0:09
mvePete O'Hanlon18-Jan-07 0:09 
GeneralRe: Best Data Access Objects in .NET? Pin
il_masacratore18-Jan-07 0:28
il_masacratore18-Jan-07 0:28 
AnswerRe: Best Data Access Objects in .NET? Pin
Guffa18-Jan-07 1:18
Guffa18-Jan-07 1:18 
QuestionRe: Best Data Access Objects in .NET? Pin
Blumen18-Jan-07 6:10
Blumen18-Jan-07 6:10 
AnswerRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon18-Jan-07 8:38
mvePete O'Hanlon18-Jan-07 8:38 
GeneralRe: Best Data Access Objects in .NET? Pin
Blumen19-Jan-07 5:45
Blumen19-Jan-07 5:45 
GeneralRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon19-Jan-07 10:28
mvePete O'Hanlon19-Jan-07 10:28 
QuestionRe: Best Data Access Objects in .NET? Pin
Blumen20-Jan-07 7:37
Blumen20-Jan-07 7:37 
AnswerRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon20-Jan-07 8:11
mvePete O'Hanlon20-Jan-07 8:11 
GeneralRe: Best Data Access Objects in .NET? Pin
Blumen20-Jan-07 22:14
Blumen20-Jan-07 22:14 
GeneralRe: Best Data Access Objects in .NET? Pin
Pete O'Hanlon21-Jan-07 9:05
mvePete O'Hanlon21-Jan-07 9:05 
GeneralRe: Best Data Access Objects in .NET? Pin
Blumen21-Jan-07 15:36
Blumen21-Jan-07 15:36 
Questionobject does(n't) exist? Pin
V.17-Jan-07 21:07
professionalV.17-Jan-07 21:07 
Questionsave dataview as a Excel file [modified] Pin
teymur_khan17-Jan-07 20:49
teymur_khan17-Jan-07 20:49 
AnswerRe: save dataview as a Excel file Pin
Vinay Dornala18-Jan-07 0:24
Vinay Dornala18-Jan-07 0:24 
QuestionHttpWebRequest TimeOut On an Https channel while posting data Pin
SatyaDY17-Jan-07 20:21
SatyaDY17-Jan-07 20:21 

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.