'Connect to MDT and dump contents of dbo.ComputerIdentity database'

def _connect(self, query):

    if (not self.conn):
        self.conn = pymssql.connect(server=((self.mdt_server + '\\') + self.mdt_instance), user=self.mdt_user, password=self.mdt_password, database=self.mdt_database)
        cursor = self.conn.cursor()
        cursor.execute(query)
        self.mdt_dump = cursor.fetchall()
        self.conn.close()
