diff --git a/src/MongoDM/DBContextBase.cs b/src/MongoDM/DBContextBase.cs index 02a15c9a..34f55c22 100644 --- a/src/MongoDM/DBContextBase.cs +++ b/src/MongoDM/DBContextBase.cs @@ -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. diff --git a/src/MongoDM/MongoDM.csproj b/src/MongoDM/MongoDM.csproj index bbbd7382..de665393 100644 --- a/src/MongoDM/MongoDM.csproj +++ b/src/MongoDM/MongoDM.csproj @@ -5,7 +5,7 @@ true Digicando.MongoDM true - 0.18.0 + 0.18.1 Digicando Srl ODM framework for MongoDB