IDbProvider..::..GetByParameters<(Of <(<'T>)>)> Method
Gets all rows by a sql statement and optional parameters.
Namespace:
SimpleEssentials.DataProvider
Assembly:
SimpleEssentials (in SimpleEssentials.dll)
Syntax
IEnumerable<T> GetByParameters<T>( string sql, Object param, CacheSettings cacheSettings )
Function GetByParameters(Of T) ( _ sql As String, _ param As Object, _ cacheSettings As CacheSettings _ ) As IEnumerable(Of T)
generic<typename T> IEnumerable<T>^ GetByParameters( String^ sql, Object^ param, CacheSettings^ cacheSettings )
Type Parameters
- T
Parameters
- sql
- Type: String
The SQL.
- param
- Type: Object
The parameter.
- cacheSettings
- Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.