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

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

Performs a series of batch inserts.

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

Syntax


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

Type Parameters

TObject
The type of the t object.

Parameters

tableName
Type: String
Name of the table.
objects
Type: IReadOnlyList<(Of <(<'TObject>)>)>
The objects.
options
Type: Tortuga.Chain..::..InsertOptions
The options.

Return Value

Tortuga.Chain.ILink<System.Int32>.

Remarks


This operation is not atomic. It should be wrapped in a transaction.