Get(T) Method (Expression(Func(T, Boolean)), CacheSettings)

SimpleEssentials

DbDataProvider..::..Get<(Of <(<'T>)>)> Method (Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>, CacheSettings)

Get all rows that match the expression given

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

Syntax


public IEnumerable<T> Get<T>(
	Expression<Func<T, bool>> expression,
	CacheSettings cacheSettings
)
Public Function Get(Of T) ( _
	expression As Expression(Of Func(Of T, Boolean)), _
	cacheSettings As CacheSettings _
) As IEnumerable(Of T)
public:
generic<typename T>
IEnumerable<T>^ Get(
	Expression<Func<T, bool^>^>^ expression, 
	CacheSettings^ cacheSettings
)

Type Parameters

T

Parameters

expression
Type: Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
The expression.
cacheSettings
Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.

Return Value

Gets a list of strongly typed objects