Search Results for

Show / Hide Table of Contents

# Interface IUpdateDescriptor<TKey, TValue>

Dummy interface to provide update description for UpdateAll<TKey, TValue>(IQueryable<ICacheEntry<TKey, TValue>>, Expression<Func<IUpdateDescriptor<TKey, TValue>, IUpdateDescriptor<TKey, TValue>>>)

###### Namespace: Apache.Ignite.Linq

###### Assembly: Apache.Ignite.Linq.dll

##### Syntax

    public interface IUpdateDescriptor<out TKey, out TValue>

##### Type Parameters

Name | Description
--- | ---
TKey | Key type.
TValue | Value type.

### Methods

#### Set<TProp>(Func<TValue, TProp>, TProp)

Specifies member update with constant

##### Declaration

    IUpdateDescriptor<TKey, TValue> Set<TProp>(Func<TValue, TProp> selector, TProp value)

##### Parameters

Type | Name | Description
--- | --- | ---
Func<TValue, TProp> | selector | Member selector
TProp | value | New value

##### Returns

Type | Description
--- | ---
IUpdateDescriptor<TKey, TValue> |

##### Type Parameters

Name | Description
--- | ---
TProp | Member type

#### Set<TProp>(Func<TValue, TProp>, Func<ICacheEntry<TKey, TValue>, TProp>)

Specifies member update with expression

##### Declaration

    IUpdateDescriptor<TKey, TValue> Set<TProp>(Func<TValue, TProp> selector, Func<ICacheEntry<TKey, TValue>, TProp> valueBuilder)

##### Parameters

Type | Name | Description
--- | --- | ---
Func<TValue, TProp> | selector | Member selector
Func<ICacheEntry<TKey, TValue>, TProp> | valueBuilder | New value generator

##### Returns

Type | Description
--- | ---
IUpdateDescriptor<TKey, TValue> |

##### Type Parameters

Name | Description
--- | ---
TProp | Member type