Browse Source
Merge pull request #12439 from abpframework/liangshiwei/patch
Make method DeleteManyAsync virtual
pull/12442/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
|