Property MatchVersion
MatchVersion
Gets or sets a value that determines whether to perform the Put
operation only if there is an existing row that matches the
primary key and its RowVersion matches the value
provided.
Declaration
public RowVersion MatchVersion { get; set; }
Property Value
Type | Description |
---|---|
RowVersion | The value of RowVersion that indicates that the Put operation should only be performed if there is an existing row matching the primary key and its version matches this value. |
Remarks
This property is exclusive with IfAbsent
and IfPresent. If set to a non-null value,
those properties will be unset. You may also use
PutIfVersionAsync(String, MapValue, RowVersion, PutOptions, CancellationToken) API instead of setting
this option.