Beispiel #1
0
 public Criterion(DbVerb verb, String dbColumn, DbOperator dbOperator, object value)
 {
     this.verb       = verb;
     this.dbColumn   = dbColumn;
     this.dbOperator = dbOperator;
     this.value      = value;
 }
 public void SetVerbose(DbVerb which, bool on) {
   DbRetVal ret;
   lock (rscLock) {
     DB_ENV* evp = CheckDisposed();
     ret = evp->SetVerbose(evp, unchecked((uint)which), on ? 1 : 0);
   }
   Util.CheckRetVal(ret);
 }
 public bool GetVerbose(DbVerb which) {
   int onoff;
   DbRetVal ret;
   lock (rscLock) {
     DB_ENV* evp = CheckDisposed();
     ret = evp->GetVerbose(evp, unchecked((uint)which), out onoff);
   }
   Util.CheckRetVal(ret);
   return onoff != 0;
 }