Benchmarkr.Couchbase.Benchmark.InsertObject C# (CSharp) Method

InsertObject() public method

public InsertObject ( uint index ) : void
index uint
return void
        public override void InsertObject(uint index)
        {
            this.db.CreateDocument()
                .PutProperties(new Dictionary<string, object>
            {
                ["name"] = BenchmarkBase.NameValue(index),
                ["age"] = BenchmarkBase.AgeValue(index),
                ["is_hired"] = BenchmarkBase.IsHiredValue(index)
            });
        }