public async Task InsertManyAsync() { var items = Enumerable.Range(0, 100).Select(e => new User { Id = e, Name = $"Teddy_{e}" }); await _collection.InsertManyAsync(items); }
public async Task InsertManyAsync() { var items = Enumerable.Range(0, 100).Select(e => new User { Id = e, Name = $"Teddy_{e}" }); await _collection.InsertManyAsync(items); }