Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

ISupportsInsertBatch..::..InsertMultipleBatch<(Of <(<'TObject>)>)> Method (IReadOnlyList<(Of <(<'TObject>)>)>, InsertOptions)

Inserts the batch of records as one operation.

Namespace:  Tortuga.Chain.DataSources
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


ILink<int> InsertMultipleBatch<TObject>(
	IReadOnlyList<TObject> objects,
	InsertOptions options
)
Function InsertMultipleBatch(Of TObject) ( _
	objects As IReadOnlyList(Of TObject), _
	options As InsertOptions _
) As ILink(Of Integer)
generic<typename TObject>
ILink<int^>^ InsertMultipleBatch(
	IReadOnlyList<TObject>^ objects, 
	InsertOptions^ options
)

Type Parameters

TObject

Parameters

objects
Type: IReadOnlyList<(Of <(<'TObject>)>)>
The objects to insert.
options
Type: Tortuga.Chain..::..InsertOptions
The options.

Return Value

MultipleRowDbCommandBuilder<SqlCommand, SqlParameter>.