SqlServerDataSourceBase..::..InsertBulk<(Of <(<'TObject>)>)> Method (SqlServerObjectName, IEnumerable<(Of <(<'TObject>)>)>, SqlBulkCopyOptions)
Inserts the batch of records using bulk insert.
Namespace:
Tortuga.Chain.SqlServerAssembly: Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)
Syntax
[SuppressMessageAttribute] [EditorBrowsableAttribute] public SqlServerInsertBulk InsertBulk<TObject>( SqlServerObjectName tableName, IEnumerable<TObject> objects, SqlBulkCopyOptions options )
<SuppressMessageAttribute> _ <EditorBrowsableAttribute> _ Public Function InsertBulk(Of TObject) ( _ tableName As SqlServerObjectName, _ objects As IEnumerable(Of TObject), _ options As SqlBulkCopyOptions _ ) As SqlServerInsertBulk
[SuppressMessageAttribute] [EditorBrowsableAttribute] public: generic<typename TObject> SqlServerInsertBulk^ InsertBulk( SqlServerObjectName^ tableName, IEnumerable<TObject>^ objects, SqlBulkCopyOptions^ options )
Type Parameters
- TObject
Parameters
- tableName
- Type: Tortuga.Chain.SqlServer..::..SqlServerObjectName
Name of the table.
- objects
- Type: IEnumerable<(Of <(<'TObject>)>)>
The objects.
- options
- Type: SqlBulkCopyOptions
The options.