Home > Net > Need a singleton processing sqlconnection object, and what are the strengths and weaknesses of the c
Need a singleton processing sqlconnection object, and what are the strengths and weaknesses of the c
Time:04-28
Or is there a better way?
CodePudding user response:
Singleton is just kind of design patterns, is suitable for the object, the need to extend sqlconnection succession or do you need would achieve an interface? Sqlhelper what is static, there is no need to make what singleton