IDataServiceUpdateProvider.SetConcurrencyValues Method

Definition

Supplies the eTag value for the given entity resource.

public:
 void SetConcurrencyValues(System::Object ^ resourceCookie, Nullable<bool> checkForEquality, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ concurrencyValues);
public void SetConcurrencyValues (object resourceCookie, bool? checkForEquality, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> concurrencyValues);
abstract member SetConcurrencyValues : obj * Nullable<bool> * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Public Sub SetConcurrencyValues (resourceCookie As Object, checkForEquality As Nullable(Of Boolean), concurrencyValues As IEnumerable(Of KeyValuePair(Of String, Object)))

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