C# Port of MapDB (Java)