def set_message_GlobalCount(self, server, GlobalCount):
        server_dn = self.lookup_server(server, []).dn

        newGlobalCount = """
dn: %s
changetype: modify
replace: GlobalCount
GlobalCount: %d
""" % (server_dn, GlobalCount)

        self.ldb.transaction_start()
        try:
            self.ldb.modify_ldif(newGlobalCount)
        finally:
            self.ldb.transaction_commit()
Check the pinning getters and setters.
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/openchange/mailbox.py/OpenChangeDB.set_message_GlobalCount--crossover with--dataset/ETHPy150Open jbalogh/django-multidb-router/multidb/tests.py/PinningTests.test_pinning_encapsulation