ICache GetOrCreateTable TKey  Method (String, IEqualityComparer TKey )NFX Class Library

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

Returns existing table by name, if it does not exist creates a new table. For existing table the types must be identical to the ones used at creation

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

ICacheTable<TKey> GetOrCreateTable<TKey>(
	string tableName,
	IEqualityComparer<TKey> keyComparer = null
)

Parameters

tableName
Type: OnlineSystem String
keyComparer (Optional)
Type: OnlineSystem.Collections.Generic IEqualityComparer TKey 
Type Parameters

TKey

Return Value

Type: ICacheTable TKey 
See Also