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

InsertObject() public method

public InsertObject ( uint index ) : void
index uint
return void
        public override void InsertObject(uint index)
        {
            var employee = this.realm.CreateObject<Employee>();
            employee.Name = BenchmarkBase.NameValue(index);
            employee.Age = Benchmark.AgeValue(index);
            employee.IsHired = Benchmark.IsHiredValue(index);
        }