From 1a9f2f5f4d06fbae38f687b64e1143a783f739a8 Mon Sep 17 00:00:00 2001 From: Mirko Da Corte Date: Tue, 17 Sep 2019 02:27:45 +0200 Subject: [PATCH 1/2] Made SaveChangesAsync virtual --- src/MongoDM/DBContextBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From bdcc596345af5126432a6f2ee4d29403da7cc586 Mon Sep 17 00:00:00 2001 From: Mirko Da Corte Date: Tue, 17 Sep 2019 02:29:37 +0200 Subject: [PATCH 2/2] Updated version --- src/MongoDM/MongoDM.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MongoDM/MongoDM.csproj b/src/MongoDM/MongoDM.csproj index 940ab715..de665393 100644 --- a/src/MongoDM/MongoDM.csproj +++ b/src/MongoDM/MongoDM.csproj @@ -5,7 +5,7 @@ true Digicando.MongoDM true - 0.18.0-dev + 0.18.1 Digicando Srl ODM framework for MongoDB