Search:

Search all manuals
Search this manual
Manual
Membase Client Library: .NET (C#)
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Membase Client Library: .NET (C#)
Chapters

Chapter 2. Membase Client Library: .NET — Store Operations

Table 2.1.  .NET Client Library

MethodTitle
object.ExecuteStore(storemode, key, value) Store a value using the specified key and return a store operation result
object.ExecuteStore(storemode, key, value, expiresat) Store a value using the specified key with a specific expiry time and return a store operation result
object.ExecuteStore(storemode, key, value, expiresat, persistto, replicateto) Store a value using the specified key with a specific expiry time and return a store operation result
object.ExecuteStore(storemode, key, value, persistto, replicateto) Store a value using the specified key and return a store operation result
object.ExecuteStore(storemode, key, value, validfor) Store a value using the specified key with expiry time and return a store operation result
object.ExecuteStore(storemode, key, value, validfor, persistto, replicateto) Store a value using the specified key with expiry time and return a store operation result
object.Store(storemode, key, value) Store a value using the specified key
object.Store(storemode, key, value, expiresat) Store a value using the specified key with a specific expiry time
object.Store(storemode, key, value, validfor) Store a value using the specified key with expiry time

API Callobject.Store(storemode, key, value)
Asynchronousno
Description Store a value using the specified key, whether the key already exists or not. Will overwrite a value if the given key/value already exists.
ReturnsBoolean ( Boolean (true/false) )
Arguments 
StoreMode storemode Storage mode for a given key/value pair
string key Document ID used to identify the value
object value Value to be stored
API Callobject.Store(storemode, key, value, validfor)
Asynchronousno
Description Store a value using the specified key, whether the key already exists or not. Will overwrite a value if the given key/value already exists.
ReturnsBoolean ( Boolean (true/false) )
Arguments 
StoreMode storemode Storage mode for a given key/value pair
string key Document ID used to identify the value
object value Value to be stored
TimeSpan validfor Expiry time (in seconds) for key
API Callobject.Store(storemode, key, value, expiresat)
Asynchronousno
Description Store a value using the specified key, whether the key already exists or not. Will overwrite a value if the given key/value already exists.
ReturnsBoolean ( Boolean (true/false) )
Arguments 
StoreMode storemode Storage mode for a given key/value pair
string key Document ID used to identify the value
object value Value to be stored
DateTime expiresat Explicit expiry time for key