When performing an InsertOrReplace
operation on Azure Table Storage, is there any way to determine whether the entity was freshly inserted or if a replace occurred?
TableOperation insertOperation = TableOperation.InsertOrReplace(entity);
TableResult result = table.Execute(insertOperation);
TableResult
does not seem to indicate this.
InsertOrReplace
on your own if you would like to do auditing rather than relying on Table StorageInsertOrReplace
functionality. – Gaurav Mantri