Get(T) Method (Object, CacheSettings)

SimpleEssentials

IDbProvider..::..Get<(Of <(<'T>)>)> Method (Object, CacheSettings)

Get a row from the database by ID.

Namespace:  SimpleEssentials.DataProvider
Assembly:  SimpleEssentials (in SimpleEssentials.dll)

Syntax


T Get<T>(
	Object id,
	CacheSettings cacheSettings
)
Function Get(Of T) ( _
	id As Object, _
	cacheSettings As CacheSettings _
) As T
generic<typename T>
T Get(
	Object^ id, 
	CacheSettings^ cacheSettings
)

Type Parameters

T

Parameters

id
Type: Object
The identifier.
cacheSettings
Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.

Return Value

Strongly typed object