Click or drag to resize

DataInserter Properties

The DataInserter type exposes the following members.

Properties
  Name Description
Public property AttemptBulkInsert Get or set to attempt use of a BULK INSERT on a destination SQL Server connection
Public property AttemptTruncateTable Set to True to attempt use of a TRUNCATE TABLE on a destination SQL Server connection if ClearDestinationTables is True and it looks like the referential integrity definition supports this. Your SQL Server connection will need the rights to perform this operation.
Public property BulkInsertEncoding This setting defines the text encoding that will be used when writing a temporary BULK INSERT file that will be needed if a SQL Server BULK INSERT is performed - make sure the encoding output matches the specified CODEPAGE value in the BulkInsertSettings property.
Public property BulkInsertFilePath This setting defines the file path that will be used when writing a temporary BULK INSERT file that will be needed if a SQL Server BULK INSERT is performed - make sure the destination SQL Server has rights to this path.
Public property BulkInsertSettings This setting defines the SQL Server BULK INSERT settings that will be used if a BULK INSERT is performed.
Public property ClearDestinationTables Set to True to clear all data from the destination database before processing data inserts.
Public property DelimiterReplacement This specifies the string that will be substituted for the field terminator or row terminator if encountered in a database value while creating a BULK INSERT file. The field terminator and row terminator values are defined in the BulkInsertSettings property specified by the FIELDTERMINATOR and ROWTERMINATOR keywords respectively.
Public property ExcludedTables Get list of tables to be excluded during data processing
(Inherited from BulkDataOperationBase)
Public property ForceBulkInsert Get or set to force use of a BULK INSERT on a destination SQL Server connection regardless of whether or not it looks like the referential integrity definition supports this.
Public property ForceTruncateTable Set to True to force use of a TRUNCATE TABLE on a destination SQL Server connection if ClearDestinationTables is True regardless of whether or not it looks like the referential integrity definition supports this. Your SQL Server connection will need the rights to perform this operation
Public property FromSchema Get or set Source schema
(Inherited from BulkDataOperationBase)
Public property PreserveAutoIncValues Set to True to preserve primary key value data to the destination database before processing data inserts.
Public property RowReportInterval Get or set number of rows to process before raising progress events
(Inherited from BulkDataOperationBase)
Public property Timeout Get or set Maximum number of seconds to wait when processing a SQL command before timing out.
(Inherited from BulkDataOperationBase)
Public property ToSchema Get or set destination schema
(Inherited from BulkDataOperationBase)
Public property UseFromSchemaReferentialIntegrity Get or set - use referential integrity information from source/to destination database during data processing
(Inherited from BulkDataOperationBase)
Public property WorkTables These are the tables that were found in both source and destination to be used for data operation...
(Inherited from BulkDataOperationBase)
Top
See Also