Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

SqlServerDataSourceBase..::..InsertBulk Method (SqlServerObjectName, DataTable, SqlBulkCopyOptions)

Inserts the batch of records using bulk insert.

Namespace:  Tortuga.Chain.SqlServer
Assembly:  Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)

Syntax


[EditorBrowsableAttribute]
public SqlServerInsertBulk InsertBulk(
	SqlServerObjectName tableName,
	DataTable dataTable,
	SqlBulkCopyOptions options
)
<EditorBrowsableAttribute> _
Public Function InsertBulk ( _
	tableName As SqlServerObjectName, _
	dataTable As DataTable, _
	options As SqlBulkCopyOptions _
) As SqlServerInsertBulk
[EditorBrowsableAttribute]
public:
SqlServerInsertBulk^ InsertBulk(
	SqlServerObjectName^ tableName, 
	DataTable^ dataTable, 
	SqlBulkCopyOptions^ options
)

Parameters

tableName
Type: Tortuga.Chain.SqlServer..::..SqlServerObjectName
Name of the table.
dataTable
Type: DataTable
The data table.
options
Type: SqlBulkCopyOptions
The options.

Return Value

SqlServerInsertBulk.