public RocksSecondaryRepository(RocksDbSharp.RocksDb db, SecondaryIndexGenerator indexGenerator, IIndexOrderProvider indexOrders)
        {
            this.Database = db;

            WriteOptions        = new WriteOptions();
            this.IndexGenerator = indexGenerator;
            this.IndexOrders    = indexOrders;
        }
 public RocksSecondaryRepository(RocksDbSharp.RocksDb db, SecondaryIndexGenerator indexGenerator)
     : this(db, indexGenerator, new IndexOrderProvider())
 {
 }