Search Results for

Show / Hide Table of Contents

# Interface ICacheStoreSession

Session for the cache store operations. The main purpose of cache store session is to hold context between multiple store invocations whenever in transaction. For example, you can save current database connection in the session Properties map. You can then commit this connection in the SessionEnd(Boolean) method.

###### Namespace: Apache.Ignite.Core.Cache.Store

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface ICacheStoreSession

### Properties

#### CacheName

Cache name for the current store operation. Note that if the same store is reused between different caches, then the cache name will change between different store operations.

##### Declaration

    string CacheName { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### Properties

Current session properties. You can add properties directly to the returned map.

##### Declaration

    IDictionary<object, object> Properties { get; }

##### Property Value

Type | Description
--- | ---
IDictionary<System.Object, System.Object> |