IDataServiceUpdateProvider.SetConcurrencyValues Method

Definition

Supplies the eTag value for the given entity resource.

C#
public void SetConcurrencyValues(object resourceCookie, bool? checkForEquality, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> concurrencyValues);

Parameters

resourceCookie
Object

Cookie that represents the resource.

checkForEquality
Nullable<Boolean>

A Boolean that is true when property values must be compared for equality; false when property values must be compared for inequality.

concurrencyValues
IEnumerable<KeyValuePair<String,Object>>

An IEnumerable<T> list of the eTag property names and corresponding values.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1