예제 #1
0
 public void SetFlags(CacheFileFlags value, bool on) {
   DbRetVal ret;
   lock (rscLock) {
     DB_MPOOLFILE* mpf = CheckDisposed();
     ret = mpf->SetFlags(mpf, value, on ? 1 : 0);
   }
   Util.CheckRetVal(ret);
 }
예제 #2
0
        public void SetFlags(CacheFileFlags value, bool on)
        {
            DbRetVal ret;

            lock (rscLock) {
                DB_MPOOLFILE *mpf = CheckDisposed();
                ret = mpf->SetFlags(mpf, value, on ? 1 : 0);
            }
            Util.CheckRetVal(ret);
        }