IDataServiceUpdateProvider.SetConcurrencyValues 方法

提供给定的实体资源 eTag 值。

命名空间:  System.Data.Services.Providers
程序集:  Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)

语法

声明
Sub SetConcurrencyValues ( _
    resourceCookie As Object, _
    checkForEquality As Nullable(Of Boolean), _
    concurrencyValues As IEnumerable(Of KeyValuePair(Of String, Object)) _
)
用法
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>>
)

参数

  • resourceCookie
    类型:System.Object
    表示资源的 Cookie。
  • checkForEquality
    类型:System.Nullable<Boolean>
    当属性值与相等比较时,则为 true 的 Boolean;当属性值与不相等比较时,则为 false。

请参阅

参考

IDataServiceUpdateProvider 接口

System.Data.Services.Providers 命名空间