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) {