Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 1:30
Blumen17-Aug-08 1:30 
GeneralRe: Implementing IDisposable in Sealed class Pin
Colin Angus Mackay17-Aug-08 2:03
Colin Angus Mackay17-Aug-08 2:03 
GeneralRe: Implementing IDisposable in Sealed class [modified] Pin
Blumen17-Aug-08 2:59
Blumen17-Aug-08 2:59 
GeneralRe: Implementing IDisposable in Sealed class Pin
Colin Angus Mackay17-Aug-08 3:11
Colin Angus Mackay17-Aug-08 3:11 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 4:35
Blumen17-Aug-08 4:35 
GeneralRe: Implementing IDisposable in Sealed class Pin
N a v a n e e t h17-Aug-08 4:42
N a v a n e e t h17-Aug-08 4:42 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 4:50
Blumen17-Aug-08 4:50 
GeneralRe: Implementing IDisposable in Sealed class Pin
Pete O'Hanlon17-Aug-08 8:50
mvePete O'Hanlon17-Aug-08 8:50 
This is the whole problem with FxCop (and utility's like it). They give broad brush guidelines that people tend to end up as treating as gospel. This suggestion only makes sense if your SqlConnection/SqlCommand objects are member variables. If they are a local variable then there is no sense in using IDisposable to manage this.

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

My blog | My articles



JokeRe: Implementing IDisposable in Sealed class Pin
Paul Conrad17-Aug-08 9:45
professionalPaul Conrad17-Aug-08 9:45 
GeneralRe: Implementing IDisposable in Sealed class Pin
Scott Dorman17-Aug-08 17:54
professionalScott Dorman17-Aug-08 17:54 
GeneralRe: Implementing IDisposable in Sealed class Pin
Scott Dorman17-Aug-08 17:51
professionalScott Dorman17-Aug-08 17:51 
GeneralRe: Implementing IDisposable in Sealed class Pin
N a v a n e e t h17-Aug-08 4:27
N a v a n e e t h17-Aug-08 4:27 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen17-Aug-08 4:32
Blumen17-Aug-08 4:32 
GeneralRe: Implementing IDisposable in Sealed class Pin
Scott Dorman17-Aug-08 17:49
professionalScott Dorman17-Aug-08 17:49 
AnswerRe: Implementing IDisposable in Sealed class Pin
Scott Dorman17-Aug-08 17:48
professionalScott Dorman17-Aug-08 17:48 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen18-Aug-08 0:55
Blumen18-Aug-08 0:55 
GeneralRe: Implementing IDisposable in Sealed class Pin
Pete O'Hanlon18-Aug-08 2:41
mvePete O'Hanlon18-Aug-08 2:41 
GeneralRe: Implementing IDisposable in Sealed class Pin
Blumen18-Aug-08 18:45
Blumen18-Aug-08 18:45 
QuestionHow to know wheter a string contains a url? Pin
Waleed Eissa16-Aug-08 23:54
Waleed Eissa16-Aug-08 23:54 
AnswerRe: How to know wheter a string contains a url? Pin
Manas Bhardwaj17-Aug-08 0:04
professionalManas Bhardwaj17-Aug-08 0:04 
GeneralRe: How to know wheter a string contains a url? Pin
Waleed Eissa17-Aug-08 1:37
Waleed Eissa17-Aug-08 1:37 
AnswerRe: How to know wheter a string contains a url? Pin
Christian Graus17-Aug-08 0:52
protectorChristian Graus17-Aug-08 0:52 
GeneralRe: How to know wheter a string contains a url? Pin
Waleed Eissa17-Aug-08 1:42
Waleed Eissa17-Aug-08 1:42 
GeneralRe: How to know wheter a string contains a url? Pin
Christian Graus17-Aug-08 2:06
protectorChristian Graus17-Aug-08 2:06 
GeneralRe: How to know wheter a string contains a url? [modified] Pin
Waleed Eissa17-Aug-08 3:34
Waleed Eissa17-Aug-08 3:34 

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.