DbDataProvider..::..InsertList<(Of <(<'T>)>)> Method (IEnumerable<(Of <(<'T>)>)>, String, CacheSettings)
Insert a list of objects into a table.
Namespace:
SimpleEssentials.DataProvider
Assembly:
SimpleEssentials (in SimpleEssentials.dll)
Syntax
public int InsertList<T>( IEnumerable<T> data, string sql, CacheSettings cacheSettings )
Public Function InsertList(Of T) ( _ data As IEnumerable(Of T), _ sql As String, _ cacheSettings As CacheSettings _ ) As Integer
public: generic<typename T> int^ InsertList( IEnumerable<T>^ data, String^ sql, CacheSettings^ cacheSettings )
Type Parameters
- T
Parameters
- data
- Type: IEnumerable<(Of <(<'T>)>)>
The data.
- sql
- Type: String
The SQL.
- cacheSettings
- Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.