From ae0131086e84d97eaf3417ac7fc99e38c8988362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Tue, 24 Jan 2023 17:36:19 +0100 Subject: [PATCH] Fix ReturnValueBinder iterating through Operation properties instead of entity properties --- src/Connected.Data/Storage/ReturnValueBinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connected.Data/Storage/ReturnValueBinder.cs b/src/Connected.Data/Storage/ReturnValueBinder.cs index 02cb420..fe07ae8 100644 --- a/src/Connected.Data/Storage/ReturnValueBinder.cs +++ b/src/Connected.Data/Storage/ReturnValueBinder.cs @@ -20,7 +20,7 @@ namespace Connected.Data.Storage var properties = new List(); - var all = operation.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); + var all = entity.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); foreach (var prop in all) {