Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

MySqlDataSourceBase..::..InsertBatch<(Of <(<'TObject>)>)> Method (MySqlObjectName, IEnumerable<(Of <(<'TObject>)>)>, InsertOptions)

Inserts the batch of records as one operation.

Namespace:  Tortuga.Chain.MySql
Assembly:  Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)

Syntax


public DbCommandBuilder InsertBatch<TObject>(
	MySqlObjectName tableName,
	IEnumerable<TObject> objects,
	InsertOptions options
)
Public Function InsertBatch(Of TObject) ( _
	tableName As MySqlObjectName, _
	objects As IEnumerable(Of TObject), _
	options As InsertOptions _
) As DbCommandBuilder
public:
generic<typename TObject>
DbCommandBuilder^ InsertBatch(
	MySqlObjectName^ tableName, 
	IEnumerable<TObject>^ objects, 
	InsertOptions^ options
)

Type Parameters

TObject

Parameters

tableName
Type: Tortuga.Chain.MySql..::..MySqlObjectName
Name of the table.
objects
Type: IEnumerable<(Of <(<'TObject>)>)>
The objects to insert.
options
Type: Tortuga.Chain..::..InsertOptions
The options.

Return Value

MultipleRowDbCommandBuilder<SqlCommand, SqlParameter>.