protected void init(string SQL, DTOParams dto) { DBConf.openConnection(); cmd.Connection = DBConf.getConnection(); cmd.CommandText = SQL; StatementBinding stb = new StatementBinding(cmd); stb.bindStatement(dto); cmd = stb.getPreparedCommand(); }
protected void close() { cmd.Dispose(); DBConf.closeConnection(); }