Browse Source

Make method DeleteManyAsync virtual

pull/12439/head
liangshiwei 5 years ago
parent
commit
271c5a923d
  1. 2
      framework/src/Volo.Abp.MongoDB/Volo/Abp/MongoDB/DistributedEvents/MongoDbContextEventOutbox.cs

2
framework/src/Volo.Abp.MongoDB/Volo/Abp/MongoDB/DistributedEvents/MongoDbContextEventOutbox.cs

@ -70,7 +70,7 @@ public class MongoDbContextEventOutbox<TMongoDbContext> : IMongoDbContextEventOu
}
[UnitOfWork]
public async Task DeleteManyAsync(IEnumerable<Guid> ids)
public virtual async Task DeleteManyAsync(IEnumerable<Guid> ids)
{
var dbContext = (IHasEventOutbox)await MongoDbContextProvider.GetDbContextAsync();
if (dbContext.SessionHandle != null)

Loading…
Cancel
Save