示例#1
0
        public void InsertMany()
        {
            var items = Enumerable.Range(0, 100).Select(e => new User {
                Id = e, Name = $"Teddy_{e}"
            });

            _collection.InsertMany(items);
        }