diff --git a/src/Connected.Data/Storage/EntityStorage.cs b/src/Connected.Data/Storage/EntityStorage.cs index a83d8ea..835c37f 100644 --- a/src/Connected.Data/Storage/EntityStorage.cs +++ b/src/Connected.Data/Storage/EntityStorage.cs @@ -152,7 +152,11 @@ internal class EntityStorage : IAsyncEnumerable, IStorage /// Performs the update on the specified entity with optional concurrency callback support. @@ -274,7 +278,7 @@ internal class EntityStorage : IAsyncEnumerable, IStorage properties = null; - if (w.Operation.Parameters is null) - return; - - foreach (var parameter in w.Operation.Parameters) + foreach (var parameter in operation.Parameters) { if (parameter.Direction != ParameterDirection.ReturnValue && parameter.Direction != ParameterDirection.Output) continue;