CacheExtensions SaveThrough TKey, TData  Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Namespace: NFX.ApplicationModel.Pile
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static int SaveThrough<TKey, TData>(
	this ICache cache,
	TKey key,
	TData data,
	string tblCache,
	ICacheParams caching,
	Func<TKey, TData, int> fSave
)
where TData : class

Parameters

cache
Type: NFX.ApplicationModel.Pile ICache
key
Type: TKey
data
Type: TData
tblCache
Type: OnlineSystem String
caching
Type: NFX.DataAccess.CRUD ICacheParams
fSave
Type: OnlineSystem Func TKey, TData, OnlineInt32 
Type Parameters

TKey
TData

Return Value

Type: OnlineInt32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICache. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also