Share via


ReleaseUpdateBulkCopyDB.bulkCopyTable Method [AX 2012]

Copies a table from the source to the target system.

Syntax

public void bulkCopyTable(ReleaseUpdateBulkCopyTable _tableToCopy)

Run On

Server

Parameters

Exceptions

Exception Condition
Error

The table could not be copied.

Remarks

First, the direct SQL statement is built, depending on many inputs like shadow tables, record ID patching, join type, and so on.

Then, the .Net library SqlBulkCopy is used to do the bulk copy.

Every bulk copy SQL statement is logged in the ReleaseUpdateBulkCopyTable table for triaging purpose.

See Also

Reference

ReleaseUpdateBulkCopyDB Class