PostgreSqlDataSourceBase..::..InsertBulk<(Of <(<'TObject>)>)> Method (String, IEnumerable<(Of <(<'TObject>)>)>)
Inserts the batch of records using bulk insert.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
[SuppressMessageAttribute] public PostgreSqlInsertBulk InsertBulk<TObject>( string tableName, IEnumerable<TObject> objects )
<SuppressMessageAttribute> _ Public Function InsertBulk(Of TObject) ( _ tableName As String, _ objects As IEnumerable(Of TObject) _ ) As PostgreSqlInsertBulk
[SuppressMessageAttribute] public: generic<typename TObject> PostgreSqlInsertBulk^ InsertBulk( String^ tableName, IEnumerable<TObject>^ objects )
Type Parameters
- TObject
Parameters
- tableName
- Type: String
Name of the table.
- objects
- Type: IEnumerable<(Of <(<'TObject>)>)>
The objects.