|
|
@ -1,4 +1,5 @@
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using MongoDB.Driver;
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
using Volo.Abp.Domain.Entities;
|
|
|
@ -11,6 +12,7 @@ namespace Volo.Abp.MongoDB.Volo.Abp.Domain.Repositories.MongoDB
|
|
|
|
Task InsertManyAsync<TEntity>(
|
|
|
|
Task InsertManyAsync<TEntity>(
|
|
|
|
IMongoDbRepository<TEntity> repository,
|
|
|
|
IMongoDbRepository<TEntity> repository,
|
|
|
|
IEnumerable<TEntity> entities,
|
|
|
|
IEnumerable<TEntity> entities,
|
|
|
|
|
|
|
|
IClientSessionHandle sessionHandle,
|
|
|
|
bool autoSave,
|
|
|
|
bool autoSave,
|
|
|
|
CancellationToken cancellationToken
|
|
|
|
CancellationToken cancellationToken
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -19,6 +21,7 @@ namespace Volo.Abp.MongoDB.Volo.Abp.Domain.Repositories.MongoDB
|
|
|
|
Task UpdateManyAsync<TEntity>(
|
|
|
|
Task UpdateManyAsync<TEntity>(
|
|
|
|
IMongoDbRepository<TEntity> repository,
|
|
|
|
IMongoDbRepository<TEntity> repository,
|
|
|
|
IEnumerable<TEntity> entities,
|
|
|
|
IEnumerable<TEntity> entities,
|
|
|
|
|
|
|
|
IClientSessionHandle sessionHandle,
|
|
|
|
bool autoSave,
|
|
|
|
bool autoSave,
|
|
|
|
CancellationToken cancellationToken
|
|
|
|
CancellationToken cancellationToken
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -27,6 +30,7 @@ namespace Volo.Abp.MongoDB.Volo.Abp.Domain.Repositories.MongoDB
|
|
|
|
Task DeleteManyAsync<TEntity>(
|
|
|
|
Task DeleteManyAsync<TEntity>(
|
|
|
|
IMongoDbRepository<TEntity> repository,
|
|
|
|
IMongoDbRepository<TEntity> repository,
|
|
|
|
IEnumerable<TEntity> entities,
|
|
|
|
IEnumerable<TEntity> entities,
|
|
|
|
|
|
|
|
IClientSessionHandle sessionHandle,
|
|
|
|
bool autoSave,
|
|
|
|
bool autoSave,
|
|
|
|
CancellationToken cancellationToken
|
|
|
|
CancellationToken cancellationToken
|
|
|
|
)
|
|
|
|
)
|
|
|
|