Click here to Skip to main content
15,903,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Purpose of Clip member in Graphics Pin
baranils25-Feb-10 4:10
baranils25-Feb-10 4:10 
QuestionAsynchronous socket programming Pin
Frozzeg24-Feb-10 8:02
Frozzeg24-Feb-10 8:02 
AnswerRe: Asynchronous socket programming Pin
Paulo Zemek24-Feb-10 8:40
Paulo Zemek24-Feb-10 8:40 
GeneralRe: Asynchronous socket programming Pin
Frozzeg24-Feb-10 9:23
Frozzeg24-Feb-10 9:23 
QuestionAnyone else using ADO.Net 2.0, stored procedures and wcf for databinding rather than using another framwork? Pin
ToddHileHoffer24-Feb-10 7:13
ToddHileHoffer24-Feb-10 7:13 
AnswerRe: Anyone else using ADO.Net 2.0, stored procedures and wcf for databinding rather than using another framwork? Pin
Dr.Walt Fair, PE24-Feb-10 7:49
professionalDr.Walt Fair, PE24-Feb-10 7:49 
GeneralRe: Anyone else using ADO.Net 2.0, stored procedures and wcf for databinding rather than using another framwork? Pin
ToddHileHoffer24-Feb-10 9:25
ToddHileHoffer24-Feb-10 9:25 
AnswerRe: Anyone else using ADO.Net 2.0, stored procedures and wcf for databinding rather than using another framwork? Pin
PIEBALDconsult24-Feb-10 8:55
mvePIEBALDconsult24-Feb-10 8:55 
I always write my own SQL and I have found very little use for "entities" in my work and I can imagine few cases where they may be beneficial, so I expect that they are over-used (an anti-pattern).


I was discussing this with a colleague the other day.

The bottom line, to me, is the duration of the object -- will it last long enough to warrant spending time and effort creating it? And will it interact with other objects? If the answers to these questions are both "yes", then go right ahead and use an object. If not, why bother?

Let's put it this way... if all you're doing is querying data and writing it to a file (a simple list of customers for instance) then I see no point in bothering with instantiating an object for each customer just to dispose it immediately.



P.S. I don't do stored procedures, I don't do WCF, I don't do databinding.
GeneralRe: Anyone else using ADO.Net 2.0, stored procedures and wcf for databinding rather than using another framwork? Pin
ToddHileHoffer24-Feb-10 9:26
ToddHileHoffer24-Feb-10 9:26 
QuestionAre tests ugly? Pin
Member 448708324-Feb-10 6:45
Member 448708324-Feb-10 6:45 
AnswerRe: Are tests ugly? Pin
Ravi Bhavnani24-Feb-10 7:22
professionalRavi Bhavnani24-Feb-10 7:22 
QuestionMessage Removed Pin
24-Feb-10 6:39
Etienne_12324-Feb-10 6:39 
AnswerRe: Recommended resolution Pin
Dave Kreskowiak24-Feb-10 8:06
mveDave Kreskowiak24-Feb-10 8:06 
QuestionultraCombo1 - Infragistics Pin
arsendem24-Feb-10 5:45
arsendem24-Feb-10 5:45 
AnswerRe: ultraCombo1 - Infragistics Pin
Saksida Bojan24-Feb-10 6:09
Saksida Bojan24-Feb-10 6:09 
QuestionRSOP Collection Com/WMI errer Pin
Planker24-Feb-10 5:44
Planker24-Feb-10 5:44 
AnswerRe: RSOP Collection Com/WMI errer Pin
Ravi Bhavnani24-Feb-10 7:24
professionalRavi Bhavnani24-Feb-10 7:24 
QuestionCustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
akamper24-Feb-10 4:36
akamper24-Feb-10 4:36 
AnswerRe: CustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
OriginalGriff24-Feb-10 4:54
mveOriginalGriff24-Feb-10 4:54 
AnswerRe: CustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
Saksida Bojan24-Feb-10 6:13
Saksida Bojan24-Feb-10 6:13 
GeneralRe: CustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
akamper24-Feb-10 20:20
akamper24-Feb-10 20:20 
GeneralRe: CustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
Saksida Bojan24-Feb-10 22:00
Saksida Bojan24-Feb-10 22:00 
GeneralRe: CustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
akamper25-Feb-10 21:15
akamper25-Feb-10 21:15 
GeneralRe: CustomWinFormsDesigner: How to Implement "TaskButton" on Controls and how to "Select and Draw" from a toolbox Pin
Saksida Bojan26-Feb-10 0:51
Saksida Bojan26-Feb-10 0:51 
QuestionIncluding Codec within installation Pin
Caio198524-Feb-10 3:33
Caio198524-Feb-10 3:33 

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.