PostgreSqlDataSourceBase..::..InsertBatch<(Of <(<'TObject>)>)> Method (IEnumerable<(Of <(<'TObject>)>)>, InsertOptions)
Inserts the batch of records as one operation.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
public MultipleRowDbCommandBuilder InsertBatch<TObject>( IEnumerable<TObject> objects, InsertOptions options )
Public Function InsertBatch(Of TObject) ( _ objects As IEnumerable(Of TObject), _ options As InsertOptions _ ) As MultipleRowDbCommandBuilder
public: generic<typename TObject> MultipleRowDbCommandBuilder^ InsertBatch( IEnumerable<TObject>^ objects, InsertOptions^ options )
Type Parameters
- TObject
Parameters
- objects
- Type: IEnumerable<(Of <(<'TObject>)>)>
The objects to insert.
- options
- Type: Tortuga.Chain..::..InsertOptions
The options.