The SQL Class
View Single Post
12-30-2008, 03:39 AM
Join Date: Sep 2007
A good class, but some revisions need to be made.
-Please use allman style indentation to conform to project standards.
-For setHandler, do not use an array to pass paramaters, just pass multiple paramaters.
-Have connect assign the connection to a variable so we can pass it to other functions that need database interactions.
-Don't have it use a seperate function to set a query, just have the command functions accept a text parameter to the commend from. I work with a set command then execute it method in asp at work, its a pain.
Those are all rather small things, other then what I named above, its a good class.
View Public Profile
Send a private message to Village Idiot
Find More Posts by Village Idiot