SqlServerDataSourceBase..::..InsertBulk<(Of <(<'TObject>)>)> Method (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
[EditorBrowsableAttribute] public SqlServerInsertBulk InsertBulk<TObject>( IEnumerable<TObject> objects, SqlBulkCopyOptions options )
<EditorBrowsableAttribute> _ Public Function InsertBulk(Of TObject) ( _ objects As IEnumerable(Of TObject), _ options As SqlBulkCopyOptions _ ) As SqlServerInsertBulk
[EditorBrowsableAttribute] public: generic<typename TObject> SqlServerInsertBulk^ InsertBulk( IEnumerable<TObject>^ objects, SqlBulkCopyOptions^ options )
Type Parameters
- TObject
- The type of the object.
Parameters
- objects
- Type: IEnumerable<(Of <(<'TObject>)>)>
The objects.
- options
- Type: SqlBulkCopyOptions
The options.