Or you can pass in a connection object reference as part of your class constructor. personally I usually just create one object to handle by SQL Interface, give it a private SQL Connection object, and then just open and close it as needed.