For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > Should I use stsic class for DBAccess ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Should I use stsic class for DBAccess ?
tomi.trescak@gmail.com

2005-11-23, 7:04 pm

Hi

I'm creating a small IS and I'm wondering if is a good idea to create
one static class which will hold methods that will access the database.
So I'd have only one class in the memory used for all db access. I
think it is a good solution but .. maybe not.
What do you think . ??

I have a class

public static class DB Access {
public static void InsertUse(string username) {
.....
}
.....
}

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com