예제 #1
0
 /// <summary>
 /// Dispose method that closes the database
 /// </summary>
 public void Dispose()
 {
     if (_id >= 0 && _dllLoader != null && _dllLoader.isValid() && _indigo != null && _lib != null)
     {
         _indigo.setSessionID();
         Bingo.checkResult(_indigo, _lib.bingoCloseDatabase(_id));
         _id = -1;
     }
 }
예제 #2
0
 /// <summary>
 /// Dispose method that closes the database
 /// </summary>
 public void Dispose()
 {
     if (_id >= 0)
     {
         _indigo.setSessionID();
         Bingo.checkResult(BingoLib.bingoCloseDatabase(_id));
         _id = -1;
     }
 }