Remove redundant operation parameter binding

features/nuget_autobuild
Matija Koželj 2 years ago
parent ae0131086e
commit 38d8781734

@ -275,10 +275,6 @@ internal class EntityStorage<TEntity> : IAsyncEnumerable<TEntity>, IStorage<TEnt
*/ */
if (recordsAffected == 0 && args.Operation.Concurrency == DataConcurrencyMode.Enabled) if (recordsAffected == 0 && args.Operation.Concurrency == DataConcurrencyMode.Enabled)
throw new DBConcurrencyException($"{SR.ErrDataConcurrency} ({typeof(Entity).Name})"); throw new DBConcurrencyException($"{SR.ErrDataConcurrency} ({typeof(Entity).Name})");
/*
* Bind storage parameters with operation parameters.
*/
ReturnValueBinder.Bind(writer.Operation, args.Operation);
return recordsAffected; return recordsAffected;
} }

Loading…
Cancel
Save