public void Close() { DBLockManager manager = DBLockManager.Instance; manager.Close(BASE_PATH + storeName + "\\docStore"); manager.Close(BASE_PATH + storeName + "\\sequenceStore"); manager.Close(BASE_PATH + storeName + "\\attachStore"); manager.Close(BASE_PATH + storeName + "\\attachBinaryStore"); manager.Close(BASE_PATH + storeName); }
public virtual void Close() { if (store != null) { DBLockManager lockManager = DBLockManager.Instance; lockManager.Close(storePath); store = null; } }