InsertList(T) Method (IEnumerable(T), String, CacheSettings)

SimpleEssentials

IDbProvider..::..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


[ObsoleteAttribute]
int InsertList<T>(
	IEnumerable<T> data,
	string sql,
	CacheSettings cacheSettings
)
<ObsoleteAttribute> _
Function InsertList(Of T) ( _
	data As IEnumerable(Of T), _
	sql As String, _
	cacheSettings As CacheSettings _
) As Integer
[ObsoleteAttribute]
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.

Return Value

Number of rows effected