Gets the specified entity from the cache.

Namespace:  Mindscape.LightSpeed.Caching
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public TEntity Get<TEntity>(
	Object id
) where TEntity : Entity
Visual Basic (Declaration)
Public Function Get(Of TEntity As Entity) ( _
	id As Object _
) As TEntity

Parameters

id
Type: System..::.Object
The id.

Type Parameters

TEntity

Return Value

An Entity or null.

See Also