DbDataProvider..::..GetMultiMap<(Of <(<'T, T2>)>)> Method (String, Func<(Of <(<'T, T2, T>)>)>, Object, String, CacheSettings)
Builds an object that references multiple tables/rows.
Namespace:
SimpleEssentials.DataProvider
Assembly:
SimpleEssentials (in SimpleEssentials.dll)
Syntax
public IEnumerable<T> GetMultiMap<T, T2>( string sql, Func<T, T2, T> func, Object param, string splitOn, CacheSettings cacheSettings )
Public Function GetMultiMap(Of T, T2) ( _ sql As String, _ func As Func(Of T, T2, T), _ param As Object, _ splitOn As String, _ cacheSettings As CacheSettings _ ) As IEnumerable(Of T)
public: generic<typename T, typename T2> IEnumerable<T>^ GetMultiMap( String^ sql, Func<T, T2, T>^ func, Object^ param, String^ splitOn, CacheSettings^ cacheSettings )
Type Parameters
- T
- T2
- The type of the 2.
Parameters
- sql
- Type: String
The SQL.
- func
- Type: Func<(Of <(<'T, T2, T>)>)>
The function.
- param
- Type: Object
The parameter.
- splitOn
- Type: String
The split on.
- cacheSettings
- Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.