Get(T) Method (Object, CacheSettings)

SimpleEssentials

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

Get a row from the database by ID.

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

Syntax


public T Get<T>(
	Object id,
	CacheSettings cacheSettings
)
Public Function Get(Of T) ( _
	id As Object, _
	cacheSettings As CacheSettings _
) As T
public:
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