示例#1
0
        public async Task <int> AddListAsync(IQueryable <TEntity> entities, CancellationToken cancellationToken = default(CancellationToken))
        {
            var result = await _dbSet.InsertRangeAsync(entities.ToList());

            return(1);
        }