示例#1
0
        public async Task AddManyAsync(IEnumerable <T> entities, CancellationToken cancellationToken = default)
        {
            var list = entities.ToList();

            foreach (var entity in list)
            {
                Initialize(entity);
            }

            await _store.AddManyAsync(list, cancellationToken);
        }