Skip to content

Commit

Permalink
Made SaveChangesAsync virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm360 committed Sep 17, 2019
1 parent 1cbfa6e commit 1a9f2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MongoDM/DBContextBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ orderby repository.MigrationInfo.PriorityIndex
IsMigrating = false;
}

public async Task SaveChangesAsync(CancellationToken cancellationToken = default)
public virtual async Task SaveChangesAsync(CancellationToken cancellationToken = default)
{
/*
* Currently at MongoDB 4.0 sessions are only available for Replica Sets.
Expand Down

0 comments on commit 1a9f2f5

Please sign in to comment.