|
|
@ -152,7 +152,11 @@ internal class EntityStorage<TEntity> : IAsyncEnumerable<TEntity>, IStorage<TEnt
|
|
|
|
|
|
|
|
|
|
|
|
await Execute(new StorageContextArgs(operation));
|
|
|
|
await Execute(new StorageContextArgs(operation));
|
|
|
|
|
|
|
|
|
|
|
|
return entity;
|
|
|
|
var clone = entity.Clone();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ReturnValueBinder.Bind(operation, clone);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return clone;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Performs the update on the specified entity with optional concurrency callback support.
|
|
|
|
/// Performs the update on the specified entity with optional concurrency callback support.
|
|
|
@ -274,7 +278,7 @@ internal class EntityStorage<TEntity> : IAsyncEnumerable<TEntity>, IStorage<TEnt
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Bind storage parameters with operation parameters.
|
|
|
|
* Bind storage parameters with operation parameters.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
ReturnValueBinder.Bind(writer, args.Operation);
|
|
|
|
ReturnValueBinder.Bind(writer.Operation, args.Operation);
|
|
|
|
|
|
|
|
|
|
|
|
return recordsAffected;
|
|
|
|
return recordsAffected;
|
|
|
|
}
|
|
|
|
}
|
|
|
|