Posted on 2008-06-21
Need some help to create a Namespace/Class structure.
I have a Namespace that is called SQLHandler in this I'm going to place
That part is ok.
The problem comes when I need to devide all the functions to a specific class
for example. If I need to add BLOB functions I like to put all function for BLOB's in there own class
Now to the question,
What is the best appraoch to make a nice structure of this.
1: Should I put the BLOB class into the MySQLDotNet class
2: Seperate them, and import a interface into the MySQLDotNet class so it can talk to BLOB class
3: Or just place all functions under the MySQLDotNet class (this will be about 4000 rows of code in one file)
I have several classes, BLOB, AlterDatabase, ExecuteQuerys, Optimize and so on, and all of them I need to "connect" to the MySQLDotNet class in some way.