Class DeleteResult<TRow>
Represents the result of the Delete operation.
Inherited Members
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class DeleteResult<TRow>
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. |
| ExistingCreationTime | Gets the creation time of existing row if available. |
| ExistingLastWriteMetadata | Gets the JSON last-write metadata of existing row if available. |
| ExistingModificationTime | Gets the modification time of existing row if available. |
| ExistingRow | Gets the value of existing row if available. |
| ExistingVersion | Gets the value of RowVersion of existing row if available. |
| Success | Gets a value indicating whether the Delete operation was successful. |