Skip to content

})} },System.Nullable{System.DateTimeOffset})} )} },System.Type)} },System.Type,System.Nullable{System.DateTimeOffset})} )}

SqliteBlobCache.Insert(IEnumerable>) method

Defined in

Type: SqliteBlobCache Namespace: Akavache.Sqlite3 Assembly: Akavache.Sqlite3.dll

Applies to

net10.0, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-macos26.0, net10.0-android36.0, net10.0-windows10.0.19041, net9.0, net9.0-windows10.0.19041, net8.0, net8.0-windows10.0.19041, net462, net481

Overloads

  1. public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs)

  2. public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, DateTimeOffset? absoluteExpiration)

  3. public IObservable<RxVoid> Insert(string key, byte[] data)

  4. public IObservable<RxVoid> Insert(string key, byte[] data, DateTimeOffset? absoluteExpiration)

  5. public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, Type type)

  6. public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, Type type, DateTimeOffset? absoluteExpiration)

  7. public IObservable<RxVoid> Insert(string key, byte[] data, Type type)

  8. public IObservable<RxVoid> Insert(string key, byte[] data, Type type, DateTimeOffset? absoluteExpiration)

1. Overload

public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Inserts the specified key/value pairs into the blob.

Parameters

NameTypeDescription
keyValuePairsIEnumerable>The key/value to insert.

Returns: IObservable -- A observable which signals when complete.

2. Overload

public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Inserts the specified key/value pairs into the blob.

Parameters

NameTypeDescription
keyValuePairsIEnumerable>The key/value to insert.
absoluteExpirationDateTimeOffset?An optional expiration date.

Returns: IObservable -- A observable which signals when complete.

3. Overload

public IObservable<RxVoid> Insert(string key, byte[] data)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Insert a blob into the cache with the specified key and expiration date.

Parameters

NameTypeDescription
keystringThe key to use for the data.
databyte[]The data to save in the cache.

Returns: IObservable -- A signal to indicate when the key has been inserted.

4. Overload

public IObservable<RxVoid> Insert(string key, byte[] data, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Insert a blob into the cache with the specified key and expiration date.

Parameters

NameTypeDescription
keystringThe key to use for the data.
databyte[]The data to save in the cache.
absoluteExpirationDateTimeOffset?An optional expiration date. After the specified date, the key-value pair should be removed.

Returns: IObservable -- A signal to indicate when the key has been inserted.

5. Overload

public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, Type type)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Inserts the specified key/value pairs into the blob.

Parameters

NameTypeDescription
keyValuePairsIEnumerable>The key/value to insert.
typeTypeThe type.

Returns: IObservable -- A observable which signals when complete.

6. Overload

public IObservable<RxVoid> Insert(IEnumerable<KeyValuePair<string, byte[]>> keyValuePairs, Type type, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Inserts the specified key/value pairs into the blob.

Parameters

NameTypeDescription
keyValuePairsIEnumerable>The key/value to insert.
typeTypeThe type.
absoluteExpirationDateTimeOffset?An optional expiration date.

Returns: IObservable -- A observable which signals when complete.

7. Overload

public IObservable<RxVoid> Insert(string key, byte[] data, Type type)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Insert a blob into the cache with the specified key and expiration date.

Parameters

NameTypeDescription
keystringThe key to use for the data.
databyte[]The data to save in the cache.
typeTypeThe type.

Returns: IObservable -- A signal to indicate when the key has been inserted.

8. Overload

public IObservable<RxVoid> Insert(string key, byte[] data, Type type, DateTimeOffset? absoluteExpiration)

View source

Inherited documentation

These docs were inherited from IBlobCache. The member doesn't override them on this type.

Summary: Insert a blob into the cache with the specified key and expiration date.

Parameters

NameTypeDescription
keystringThe key to use for the data.
databyte[]The data to save in the cache.
typeTypeThe type.
absoluteExpirationDateTimeOffset?An optional expiration date. After the specified date, the key-value pair should be removed.

Returns: IObservable -- A signal to indicate when the key has been inserted.