Fix ReturnValueBinder taking existing value from operation instead of entity

features/nuget_autobuild
Matija Koželj 2 years ago
parent 1195fa1b7e
commit 4ba5b64f66

@ -77,7 +77,7 @@ namespace Connected.Data.Storage
if (property is null) if (property is null)
continue; continue;
var existingValue = property.GetValue(operation); var existingValue = property.GetValue(entity);
var overwriteAtt = property.FindAttribute<ReturnValueAttribute>(); var overwriteAtt = property.FindAttribute<ReturnValueAttribute>();
if (overwriteAtt is null) if (overwriteAtt is null)

Loading…
Cancel
Save