Share via


IDataServiceUpdateProvider.SetConcurrencyValues Method

Supplies the eTag value for the given entity resource.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Sub SetConcurrencyValues ( _
    resourceCookie As Object, _
    checkForEquality As Nullable(Of Boolean), _
    concurrencyValues As IEnumerable(Of KeyValuePair(Of String, Object)) _
)
'Usage
Dim instance As IDataServiceUpdateProvider 
Dim resourceCookie As Object 
Dim checkForEquality As Nullable(Of Boolean)
Dim concurrencyValues As IEnumerable(Of KeyValuePair(Of String, Object))

instance.SetConcurrencyValues(resourceCookie, _
    checkForEquality, concurrencyValues)
void SetConcurrencyValues(
    Object resourceCookie,
    Nullable<bool> checkForEquality,
    IEnumerable<KeyValuePair<string, Object>> concurrencyValues
)
void SetConcurrencyValues(
    Object^ resourceCookie, 
    Nullable<bool> checkForEquality, 
    IEnumerable<KeyValuePair<String^, Object^>>^ concurrencyValues
)
abstract SetConcurrencyValues : 
        resourceCookie:Object * 
        checkForEquality:Nullable<bool> * 
        concurrencyValues:IEnumerable<KeyValuePair<string, Object>> -> unit
function SetConcurrencyValues(
    resourceCookie : Object, 
    checkForEquality : Nullable<boolean>, 
    concurrencyValues : IEnumerable<KeyValuePair<String, Object>>
)

Parameters

  • resourceCookie
    Type: System.Object
    Cookie that represents the resource.
  • checkForEquality
    Type: System.Nullable<Boolean>
    A Boolean that is true when property values must be compared for equality; false when property values must be compared for inequality.

See Also

Reference

IDataServiceUpdateProvider Interface

System.Data.Services.Providers Namespace