/// <summary>
/// Open the database with the specified "name".
/// </summary>
public LevelDb(Options options, string name)
{
IntPtr error;
_cache = options.Cache;
_comparator = options.Comparator;
Handle = LevelDbInterop.leveldb_open(options.Handle, name, out error);
Throw(error, msg => new UnauthorizedAccessException(msg));
}