PostgreSqlDataSourceBase..::..InsertBatch<(Of <(<'TObject>)>)> Method (String, 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>( string tableName, IEnumerable<TObject> objects, InsertOptions options )
Public Function InsertBatch(Of TObject) ( _ tableName As String, _ objects As IEnumerable(Of TObject), _ options As InsertOptions _ ) As MultipleRowDbCommandBuilder
public: generic<typename TObject> MultipleRowDbCommandBuilder^ InsertBatch( String^ tableName, IEnumerable<TObject>^ objects, InsertOptions^ options )
Type Parameters
- TObject
Parameters
- tableName
- Type: String
Name of the table.
- objects
- Type: IEnumerable<(Of <(<'TObject>)>)>
The objects.
- options
- Type: Tortuga.Chain..::..InsertOptions
The options.