Class DeleteResult<TRow>
Represents the result of the Delete operation.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class DeleteResult<TRow> : Object
Type Parameters
Name | Description |
---|---|
TRow | The type of value representing the row optionally returned by ExistingRow. Must be a reference type. Currently the only supported type is RecordValue. |
Remarks
This class is the result of DeleteAsync(String, MapValue, DeleteOptions, CancellationToken) and DeleteIfVersionAsync(String, MapValue, RowVersion, DeleteOptions, CancellationToken) APIs.
Success determines whether the Delete operation was successful. Unconditional Delete will be successful if the row exists. Conditional Delete will be successful if the row exists and its version matches the one provided.
If conditional Delete operation fails,
ExistingRow and
its ExistingVersion may be available
if ReturnExisting was set to true
.
Properties
Name | Description |
---|---|
ConsumedCapacity | Cloud Service/Cloud Simulator only. Gets capacity consumed by this operation. |
ExistingModificationTime | Gets the modification time of existing row if the conditional Delete operation has failed. |
ExistingRow | Gets the value of existing row if the conditional Delete operation has failed. |
ExistingVersion | Gets the value of RowVersion of existing row if the conditional Delete operation has failed. |
Success | Gets a value indicating whether the Delete operation was successful. |