Click here to Skip to main content
16,019,206 members

Comments by jemaritn80 (Top 12 by date)

jemaritn80 17-Jul-13 8:21am View    
Thanks, Mike. I didn't know that about @@IDENTITY.
jemaritn80 17-Jul-13 8:19am View    
Thanks, SA!
jemaritn80 16-Jul-13 15:12pm View    
But reading up on the issue, there does seem to be a preferred way. The reasons against static methods range from "a loss of generality and reusability" (which I don't see in cases such as mine) all the way to "every time a programmer uses a static method a baby fairy dies." In seriousness, though I am curious why instance methods would be better in my scenario.
jemaritn80 16-Jul-13 14:17pm View    
I'm not disagreeing with you, I was disagreeing with Maciej that the question had been answered. I appreciate you taking the time to get the facts before going further. My response to is below. In essence, yes I do understand static vs. instance methods, but I'm not sure the disadvantages of my design. On StackOverflow it was suggested that this should be a singleton class, but again I'm not sure what the advantage of that would be.
jemaritn80 16-Jul-13 13:34pm View    
I disagree. The question is not, "What is the best way to do this?" The question is, "Why is this way not the preferred way?" That question has not been answered.