Ejemplo n.º 1
0
        public void Opne(string path)
        {
            var opt = new global::LevelDB.Options();

            opt.CreateIfMissing = true;
            db = DB.Open(opt, path);
        }
Ejemplo n.º 2
0
 public void Dispose()
 {
     if (db != null)
     {
         db.Dispose();
         db = null;
     }
 }