8.1 ConcurrencyMode and ETag
In OData V3 protocol, concurrencyMode is a special facet that can be applied to any primitive Entity Data Model (EDM) type. Possible values are None
, which is the default, and Fixed
. When used on an EntityType property, ConcurrencyMode
specifies that the value of that declared property should be used for optimistic concurrency checks. In the metadata, concurrencyMode will be shown as following:
There are two approaches to set concurrencyMode for a primitive property: Using ConcurrencyCheck attribute:
Using API call