Brady Kelly
2008-05-07 12:39:36 UTC
I am busy with a new ConfigHelper class, and can't seem to decide on which
approach to take. The class is responsible for adjusting the config table
in two databases, control and test. My dilemma is whether I make
ConfigHelper a static class, and tell it which database to access for each
task, or use instance methods and have one instance for each database.
===================================
This list is hosted by DevelopMentor� http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
approach to take. The class is responsible for adjusting the config table
in two databases, control and test. My dilemma is whether I make
ConfigHelper a static class, and tell it which database to access for each
task, or use instance methods and have one instance for each database.
===================================
This list is hosted by DevelopMentor� http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com