From a07ad0c419afa74d6689b2253ba2f577a0735e99 Mon Sep 17 00:00:00 2001 From: Kim66766 <33825991+Kim66766@users.noreply.github.com> Date: Wed, 10 Jan 2018 14:52:50 +0800 Subject: [PATCH] SoftDelete method calling itself SoftDelete method calling itself, make out of memory exception, it should to call SoftDeleteAll method. --- src/Dapper.SimpleSave/SimpleSaveExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dapper.SimpleSave/SimpleSaveExtensions.cs b/src/Dapper.SimpleSave/SimpleSaveExtensions.cs index 8922837..543158f 100644 --- a/src/Dapper.SimpleSave/SimpleSaveExtensions.cs +++ b/src/Dapper.SimpleSave/SimpleSaveExtensions.cs @@ -181,7 +181,7 @@ public static void SoftDelete( T obj, IDbTransaction transaction = null) { - SoftDelete( + SoftDeleteAll( connection, new [] { obj }, transaction);